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