X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FArrayType.h;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FArrayType.h;h=4c82ebd28281c8a3a2a35e2f9ea9d60db7068f2b;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=8c78cebf79eabd97323cb9e5bdbb2c2aca957eac;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/ArrayType.h b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/ArrayType.h index 8c78cebf7..4c82ebd28 100644 --- a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/ArrayType.h +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/ArrayType.h @@ -1,40 +1,40 @@ -#pragma once - -#include "DataBoardAPI.h" - -#include "DataType.h" - -#include - -namespace Databoard { - - class Range; - - namespace Type { - - class DATABOARD_API ArrayType : public DataType { - public: - ArrayType(); - ArrayType(DataType* componentType); - ArrayType(DataType* componentType, Range* length); - - virtual ~ArrayType(); - - DataType* getComponentType(); - void setComponentType(DataType* componentType); - int minLength(); - int maxLength(); - Range* getLength(); - void setLength(Range* length); - - virtual std::string writeOut(int indent = 0); - - protected: - - DataType* componentType; - Range* length; - - - }; - } -} +#pragma once + +#include "DataBoardAPI.h" + +#include "DataType.h" + +#include + +namespace Databoard { + + class Range; + + namespace Type { + + class DATABOARD_API ArrayType : public DataType { + public: + ArrayType(); + ArrayType(DataType* componentType); + ArrayType(DataType* componentType, Range* length); + + virtual ~ArrayType(); + + DataType* getComponentType(); + void setComponentType(DataType* componentType); + int minLength(); + int maxLength(); + Range* getLength(); + void setLength(Range* length); + + virtual std::string writeOut(int indent = 0); + + protected: + + DataType* componentType; + Range* length; + + + }; + } +}