9 ByteType::ByteType() : NumberType()
14 ByteType::ByteType(std::string unit) : NumberType(unit)
20 ByteType::ByteType(std::string unit, Range* range) : NumberType(unit, range)
30 char ByteType::minValue()
32 if(range == NULL) return SCHAR_MIN;
34 Limit* l = range->getLower();
36 char value = l->getByte(SCHAR_MIN);
41 char ByteType::maxValue()
43 if(range == NULL) return SCHAR_MAX;
45 Limit* l = range->getUpper();
47 char value = l->getByte(SCHAR_MAX);
52 std::string ByteType::writeOut(int indent)
58 s += NumberType::writeOut(indent + 1);