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