]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/IntegerValue.h
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / IntegerValue.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 IntegerValue : public Value {\r
9                 public:\r
10                         IntegerValue(Databoard::Type::DataType* dataBoard);\r
11                         virtual ~IntegerValue();\r
12 \r
13                         void setValue(int value);\r
14                         int getValue();\r
15 \r
16                         virtual std::string writeOut(int indent = 0);\r
17                         virtual bool equals(const Value* other);\r
18 \r
19                         virtual std::string isValid();\r
20 \r
21                 protected:\r
22 \r
23                         int value;\r
24                 };\r
25         }\r
26 }\r