]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/DataType.cpp
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / DataType.cpp
1 #include "DataType.h"
2
3 namespace Databoard {
4         namespace Type {
5
6                 DataType::DataType()
7                 {
8                         notBuiltIn = false;
9                 }
10
11                 DataType::~DataType()
12                 {
13                 }
14
15                 std::string DataType::writeOut(int indent)
16                 {
17                         std::string s;
18
19                         s.append(2 * indent, ' ');
20
21                         return s;
22                 }
23
24                 void DataType::setNotBuiltIn()
25                 {
26                         notBuiltIn = true;
27                 }
28
29                 bool DataType::getNotBuiltIn()
30                 {
31                         return notBuiltIn;
32                 }
33         }
34 }