-#include "BooleanValue.h"\r
-\r
-namespace Databoard {\r
- namespace Value {\r
- BooleanValue::BooleanValue(Databoard::Type::DataType* dataBoard) : Value(dataBoard)\r
- {\r
- }\r
-\r
- BooleanValue::~BooleanValue()\r
- {\r
- }\r
-\r
- void BooleanValue::setValue(bool value)\r
- {\r
- this->value = value;\r
- }\r
-\r
- bool BooleanValue::getValue()\r
- {\r
- return value;\r
- }\r
-\r
- std::string BooleanValue::writeOut(int /*indent*/)\r
- {\r
- std::string s;\r
-\r
- if(value == true)\r
- {\r
- s += "true";\r
- }\r
- else\r
- {\r
- s += "false";\r
- }\r
-\r
- return s;\r
- }\r
-\r
- bool BooleanValue::equals(const Value* other)\r
- {\r
- BooleanValue* o = (BooleanValue*)other;\r
-\r
- return (this->value < o->value);\r
-\r
- }\r
- }\r
-}\r
+#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);
+
+ }
+ }
+}