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