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