1 #include "NumberType.h"
10 NumberType::NumberType()
15 NumberType::NumberType(std::string unit)
21 NumberType::NumberType(std::string unit, Range* range)
27 NumberType::~NumberType()
35 std::string NumberType::getUnit()
40 void NumberType::setUnit(std::string unit)
45 Range* NumberType::getRange()
50 void NumberType::setRange(Range* value)
55 std::string NumberType::writeOut(int /*indent*/)
59 bool parenthesis = false;
65 s += "=\"" + unit + "\"";
73 if(parenthesis == false)
83 s += "=" + range->writeOut();
88 if(parenthesis == true)