]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/IntegerValue.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / IntegerValue.h
1 #pragma once
2
3 #include "Value.h"
4
5 namespace Databoard {
6         namespace Value {
7
8                 class DATABOARD_API IntegerValue : public Value {
9                 public:
10                         IntegerValue(Databoard::Type::DataType* dataBoard);
11                         virtual ~IntegerValue();
12
13                         void setValue(int value);
14                         int getValue();
15
16                         virtual std::string writeOut(int indent = 0);
17                         virtual bool equals(const Value* other);
18
19                         virtual std::string isValid();
20
21                 protected:
22
23                         int value;
24                 };
25         }
26 }