X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2FDataBoard%2FLimit.h;h=775a4ccec3b09c647b58955d59d5c9cd0e4c4e5b;hp=90bef80e96fb0765b99f2fd81257c6c1dc1de3a9;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Limit.h b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Limit.h index 90bef80e9..775a4ccec 100644 --- a/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Limit.h +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Limit.h @@ -1,34 +1,34 @@ -#pragma once - -#include - -namespace Databoard { - - class Limit { - public: - Limit(bool isLower = false); - virtual~ Limit(); - - void setValue(std::string value); - std::string getValue(); - - double getDouble(double value); - float getFloat(float value); - int getInteger(int value); - long getLong(long value); - char getByte(char value); - - void setInclusive(); - bool getInclusive(); - - std::string writeOut(); - - private: - - bool isLower; - bool isInclusive; - - std::string value; - }; - -} +#pragma once + +#include + +namespace Databoard { + + class Limit { + public: + Limit(bool isLower = false); + virtual~ Limit(); + + void setValue(std::string value); + std::string getValue(); + + double getDouble(double value); + float getFloat(float value); + int getInteger(int value); + long getLong(long value); + char getByte(char value); + + void setInclusive(); + bool getInclusive(); + + std::string writeOut(); + + private: + + bool isLower; + bool isInclusive; + + std::string value; + }; + +}