X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FValue.cpp;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FValue.cpp;h=c36c24125d040972d79ef5dc0283f5e72db36cc2;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=281ac5d8acb7231b8e3128e3c222a0ae36b79cda;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Value.cpp b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Value.cpp index 281ac5d8a..c36c24125 100644 --- a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Value.cpp +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Value.cpp @@ -1,58 +1,58 @@ -#include "Value.h" - -#include "DataType.h" - -#include - -namespace Databoard { - - namespace Value { - - Value::Value(Databoard::Type::DataType* dataBoard) - { - object = NULL; - - this->dataBoard = dataBoard; - } - - - Value::~Value() - { - } - - void* Value::getObject() - { - return object; - } - - Databoard::Type::DataType* Value::type() - { - return dataBoard; - } - - void Value::freeType() - { - delete dataBoard; - dataBoard = 0; - } - - std::string Value::writeOut(int indent) - { - std::string s; - - s.append(2 * indent, ' '); - - return s; - } - - bool Value::equals(const Value* /*other*/) - { - return true; - } - - std::string Value::isValid() - { - return "not implemented!"; - } - } -} +#include "Value.h" + +#include "DataType.h" + +#include + +namespace Databoard { + + namespace Value { + + Value::Value(Databoard::Type::DataType* dataBoard) + { + object = NULL; + + this->dataBoard = dataBoard; + } + + + Value::~Value() + { + } + + void* Value::getObject() + { + return object; + } + + Databoard::Type::DataType* Value::type() + { + return dataBoard; + } + + void Value::freeType() + { + delete dataBoard; + dataBoard = 0; + } + + std::string Value::writeOut(int indent) + { + std::string s; + + s.append(2 * indent, ' '); + + return s; + } + + bool Value::equals(const Value* /*other*/) + { + return true; + } + + std::string Value::isValid() + { + return "not implemented!"; + } + } +}