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