1 #include "DoubleType.h"
12 DoubleType::DoubleType()
17 DoubleType::DoubleType(std::string unit)
23 DoubleType::DoubleType(std::string unit, Range* range)
29 DoubleType::~DoubleType()
34 double DoubleType::minValue()
36 if(range == NULL) return DBL_MIN;
38 Limit* l = range->getLower();
40 double value = l->getDouble(DBL_MIN);
45 double DoubleType::maxValue()
47 if(range == NULL) return DBL_MAX;
49 Limit* l = range->getUpper();
51 double value = l->getDouble(DBL_MAX);
56 std::string DoubleType::writeOut(int indent)
62 s += NumberType::writeOut(indent + 1);