X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FDataType.cpp;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FDataType.cpp;h=0798fcf2635954bca92ad6e17304d4edd83eec21;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/DataType.cpp b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/DataType.cpp new file mode 100644 index 000000000..0798fcf26 --- /dev/null +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/DataType.cpp @@ -0,0 +1,34 @@ +#include "DataType.h" + +namespace Databoard { + namespace Type { + + DataType::DataType() + { + notBuiltIn = false; + } + + DataType::~DataType() + { + } + + std::string DataType::writeOut(int indent) + { + std::string s; + + s.append(2 * indent, ' '); + + return s; + } + + void DataType::setNotBuiltIn() + { + notBuiltIn = true; + } + + bool DataType::getNotBuiltIn() + { + return notBuiltIn; + } + } +}