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