]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Value.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / Value.h
1 #pragma once
2
3 #include "DataBoardAPI.h"
4
5 #include <string>
6
7 namespace Databoard {
8
9         namespace Type {
10                 class DataType;
11         }
12
13         namespace Value {
14
15                 class DATABOARD_API Value {
16                 public:
17                         Value(Databoard::Type::DataType* dataBoard);
18                         virtual ~Value();
19
20                         void* getObject();
21                         Databoard::Type::DataType* type();
22                         void freeType();
23
24                         virtual std::string writeOut(int indent = 0);
25
26                         virtual bool equals(const Value* other);
27
28                         virtual std::string isValid();
29
30                 protected:
31                         void* object;
32
33                         Databoard::Type::DataType* dataBoard;
34
35                 };
36         }
37 }