]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/FloatType.h
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / FloatType.h
1 #pragma once\r
2 \r
3 #include "NumberType.h"\r
4 \r
5 #include <string>\r
6 \r
7 namespace Databoard {\r
8         class Range;\r
9 \r
10         namespace Type {\r
11 \r
12                 class DATABOARD_API FloatType : public NumberType {\r
13                 public:\r
14                         FloatType();\r
15                         FloatType(std::string unit);\r
16                         FloatType(std::string unit, Range* range);\r
17 \r
18                         virtual ~FloatType();\r
19 \r
20                         float minValue();\r
21                         float maxValue();\r
22 \r
23                         virtual std::string writeOut(int indent = 0);\r
24 \r
25                 protected:\r
26                 };\r
27         }\r
28 }\r