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