]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/ByteValue.h
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / ByteValue.h
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 (file)
index 0000000..104210c
--- /dev/null
@@ -0,0 +1,24 @@
+#pragma once\r
+\r
+#include "Value.h"\r
+\r
+namespace Databoard {\r
+       namespace Value {\r
+\r
+               class DATABOARD_API ByteValue : public Value {\r
+               public:\r
+                       ByteValue(Databoard::Type::DataType* dataBoard);\r
+                       virtual ~ByteValue();\r
+\r
+                       void setValue(char value);\r
+                       char getValue();\r
+\r
+                       virtual std::string writeOut(int indent = 0);\r
+                       virtual bool equals(const Value* other);\r
+\r
+               protected:\r
+\r
+                       char value;\r
+               };\r
+       }\r
+}\r