X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FLongValue.h;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FLongValue.h;h=200401a3de1fb0d58c536b71723a42a224a4366c;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/LongValue.h b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/LongValue.h new file mode 100644 index 000000000..200401a3d --- /dev/null +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/LongValue.h @@ -0,0 +1,25 @@ +#pragma once + +#include "Value.h" + +namespace Databoard { + namespace Value { + + class DATABOARD_API LongValue : public Value { + public: + LongValue(Databoard::Type::DataType* dataBoard); + virtual ~LongValue(); + + void setValue(long value); + long getValue(); + + virtual std::string writeOut(int indent = 0); + virtual bool equals(const Value* other); + virtual std::string isValid(); + + protected: + + long value; + }; + } +}