]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/StringValue.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / StringValue.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 StringValue : public Value {
11                 public:
12                         StringValue(Databoard::Type::DataType* dataBoard);
13                         virtual ~StringValue();
14
15                         void setValue(std::string value);
16                         std::string getValue();
17
18                         virtual std::string writeOut(int indent = 0);
19                         virtual bool equals(const Value* other);
20                         virtual std::string isValid();
21
22                 protected:
23
24                         std::string value;
25                 };
26         }
27 }