X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FLongType.h;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FLongType.h;h=c8e4a59d9790d1e67ac3485e3f42c855901d02df;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/LongType.h b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/LongType.h new file mode 100644 index 000000000..c8e4a59d9 --- /dev/null +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/LongType.h @@ -0,0 +1,30 @@ +#pragma once + +#include "NumberType.h" + +#include + +#include + +namespace Databoard { + class Range; + + namespace Type { + + class DATABOARD_API LongType : public NumberType { + public: + LongType(); + LongType(std::string unit); + LongType(std::string unit, Range* range); + + virtual ~LongType(); + + long minValue(); + long maxValue(); + + virtual std::string writeOut(int indent = 0); + + protected: + }; + } +}