X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FBooleanValue.cpp;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FBooleanValue.cpp;h=362d20eb43ea09650e200801f5e1a0e6a3781eb0;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=f03d9d79cb5f92f9cacdc14892a58c733736248c;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/BooleanValue.cpp b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/BooleanValue.cpp index f03d9d79c..362d20eb4 100644 --- a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/BooleanValue.cpp +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/BooleanValue.cpp @@ -1,47 +1,47 @@ -#include "BooleanValue.h" - -namespace Databoard { - namespace Value { - BooleanValue::BooleanValue(Databoard::Type::DataType* dataBoard) : Value(dataBoard) - { - } - - BooleanValue::~BooleanValue() - { - } - - void BooleanValue::setValue(bool value) - { - this->value = value; - } - - bool BooleanValue::getValue() - { - return value; - } - - std::string BooleanValue::writeOut(int /*indent*/) - { - std::string s; - - if(value == true) - { - s += "true"; - } - else - { - s += "false"; - } - - return s; - } - - bool BooleanValue::equals(const Value* other) - { - BooleanValue* o = (BooleanValue*)other; - - return (this->value < o->value); - - } - } -} +#include "BooleanValue.h" + +namespace Databoard { + namespace Value { + BooleanValue::BooleanValue(Databoard::Type::DataType* dataBoard) : Value(dataBoard) + { + } + + BooleanValue::~BooleanValue() + { + } + + void BooleanValue::setValue(bool value) + { + this->value = value; + } + + bool BooleanValue::getValue() + { + return value; + } + + std::string BooleanValue::writeOut(int /*indent*/) + { + std::string s; + + if(value == true) + { + s += "true"; + } + else + { + s += "false"; + } + + return s; + } + + bool BooleanValue::equals(const Value* other) + { + BooleanValue* o = (BooleanValue*)other; + + return (this->value < o->value); + + } + } +}