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