X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FRecordValue.h;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FRecordValue.h;h=6229467979883c05c6bdf6930b7c865c0576693a;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=b2c9bf31042d16312a96366f2eeb7aa472b0e1e3;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/RecordValue.h b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/RecordValue.h index b2c9bf310..622946797 100644 --- a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/RecordValue.h +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/RecordValue.h @@ -1,39 +1,39 @@ -#pragma once - -#include "Value.h" - -#include - -namespace Databoard { - - namespace Type { - //class RecordType; - class DataType; - } - - namespace Value { - - class DATABOARD_API RecordValue : public Value { - public: - RecordValue(Databoard::Type::DataType* dataBoard); - virtual ~RecordValue(); - - - void setField(int fieldIndex, Value* value); - - int count(); - Value* getField(int fieldIndex); - - virtual std::string writeOut(int indent = 0); - virtual bool equals(const Value* other); - - virtual std::string isValid(); - - protected: - - int fieldCount; - Value** fields; - - }; - } -} +#pragma once + +#include "Value.h" + +#include + +namespace Databoard { + + namespace Type { + //class RecordType; + class DataType; + } + + namespace Value { + + class DATABOARD_API RecordValue : public Value { + public: + RecordValue(Databoard::Type::DataType* dataBoard); + virtual ~RecordValue(); + + + void setField(int fieldIndex, Value* value); + + int count(); + Value* getField(int fieldIndex); + + virtual std::string writeOut(int indent = 0); + virtual bool equals(const Value* other); + + virtual std::string isValid(); + + protected: + + int fieldCount; + Value** fields; + + }; + } +}