]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/ByteType.h
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / ByteType.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 ByteType : public NumberType {
15                 public:
16                         ByteType();
17                         ByteType(std::string unit);
18                         ByteType(std::string unit, Range* range);
19
20                         virtual ~ByteType();
21
22                         char minValue();
23                         char maxValue();
24
25                         virtual std::string writeOut(int indent = 0);
26
27                 protected:
28                 };
29         }
30 }