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