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