]> gerrit.simantics Code Review - simantics/platform.git/blob - 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
1 #pragma once\r
2 \r
3 #include "Value.h"\r
4 \r
5 namespace Databoard {\r
6         namespace Value {\r
7 \r
8                 class DATABOARD_API ByteValue : public Value {\r
9                 public:\r
10                         ByteValue(Databoard::Type::DataType* dataBoard);\r
11                         virtual ~ByteValue();\r
12 \r
13                         void setValue(char value);\r
14                         char getValue();\r
15 \r
16                         virtual std::string writeOut(int indent = 0);\r
17                         virtual bool equals(const Value* other);\r
18 \r
19                 protected:\r
20 \r
21                         char value;\r
22                 };\r
23         }\r
24 }\r