X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FUnionValue.h;h=27d96ac57291db8996d2c54c0201f3d9c61a2660;hp=58bb965c9d9f05f5ae901a8b0d6e125e4af59f93;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/UnionValue.h b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/UnionValue.h index 58bb965c9..27d96ac57 100644 --- a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/UnionValue.h +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/UnionValue.h @@ -1,30 +1,30 @@ -#pragma once - -#include "Value.h" - -#include - -namespace Databoard { - namespace Value { - - class DATABOARD_API UnionValue : public Value { - public: - UnionValue(Databoard::Type::DataType* dataBoard); - virtual ~UnionValue(); - - virtual std::string writeOut(int indent = 0); - virtual bool equals(const Value* other); - virtual std::string isValid(); - - int getTag(); - Value* getValue(); - void setValue(int tag, Value* value); - - protected: - - int tag; - Value* value; - - }; - } -} +#pragma once + +#include "Value.h" + +#include + +namespace Databoard { + namespace Value { + + class DATABOARD_API UnionValue : public Value { + public: + UnionValue(Databoard::Type::DataType* dataBoard); + virtual ~UnionValue(); + + virtual std::string writeOut(int indent = 0); + virtual bool equals(const Value* other); + virtual std::string isValid(); + + int getTag(); + Value* getValue(); + void setValue(int tag, Value* value); + + protected: + + int tag; + Value* value; + + }; + } +}