]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/MapType.h
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / MapType.h
1 #pragma once\r
2 \r
3 #include "DataType.h"\r
4 \r
5 namespace Databoard {\r
6         namespace Type {\r
7 \r
8                 class DATABOARD_API MapType : public DataType {\r
9                 public:\r
10                         MapType();\r
11                         MapType(DataType* keyType, DataType* valueType);\r
12 \r
13                         virtual ~MapType();\r
14 \r
15                         DataType* getKeyType();\r
16                         DataType* getValueType();\r
17                         void setKeyType(DataType* keyType);\r
18                         void setValueType(DataType* valueType);\r
19 \r
20                         virtual std::string writeOut(int indent = 0);\r
21 \r
22                 protected:\r
23 \r
24                         DataType* keyType;\r
25                         DataType* valueType;\r
26                 };\r
27         }\r
28 }\r