11 FloatType::FloatType() : NumberType()
16 FloatType::FloatType(std::string unit) : NumberType(unit)
22 FloatType::FloatType(std::string unit, Range* range) : NumberType(unit, range)
28 FloatType::~FloatType()
32 float FloatType::minValue()
34 if(range == NULL) return FLT_MIN;
36 Limit* l = range->getLower();
38 float value = l->getFloat(FLT_MIN);
43 float FloatType::maxValue()
45 if(range == NULL) return FLT_MAX;
47 Limit* l = range->getUpper();
49 float value = l->getFloat(FLT_MAX);
54 std::string FloatType::writeOut(int indent)
60 s += NumberType::writeOut(indent + 1);