]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/BooleanValue.cpp
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / BooleanValue.cpp
index f03d9d79cb5f92f9cacdc14892a58c733736248c..362d20eb43ea09650e200801f5e1a0e6a3781eb0 100644 (file)
@@ -1,47 +1,47 @@
-#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);
+
+               }
+       }
+}