]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Limit.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / Limit.h
1 #pragma once
2
3 #include <string>
4
5 namespace Databoard {
6
7         class Limit {
8         public:
9                 Limit(bool isLower = false);
10                 virtual~ Limit();
11
12                 void setValue(std::string value);
13                 std::string getValue();
14
15                 double getDouble(double value);
16                 float getFloat(float value);
17                 int getInteger(int value);
18                 long getLong(long value);
19                 char getByte(char value);
20
21                 void setInclusive();
22                 bool getInclusive();
23
24                 std::string writeOut();
25
26         private:
27
28                 bool isLower;
29                 bool isInclusive;
30
31                 std::string value;
32         };
33
34 }