]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/OptionalValue.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / OptionalValue.h
index 0923fb25c61be8f06677a4d81430ed99e2f1e5d7..9e427327e8f1524c696c7d90210557a3127a773d 100644 (file)
@@ -1,34 +1,34 @@
-#pragma once\r
-\r
-#include "Value.h"\r
-\r
-#include <string>\r
-\r
-namespace Databoard {\r
-       namespace Value {\r
-\r
-               class DATABOARD_API OptionalValue : public Value {\r
-               public:\r
-                       OptionalValue(Databoard::Type::DataType* dataBoard);\r
-                       virtual ~OptionalValue();\r
-\r
-                       virtual std::string writeOut(int indent = 0);\r
-                       virtual bool equals(const Value* other);\r
-\r
-                       void setValue(Value* value);\r
-                       void setNoValue();\r
-\r
-                       // Get the value or null if value doesn't exist\r
-                       Value* getValue();\r
-                       bool hasValue();\r
-\r
-                       virtual std::string isValid();\r
-\r
-\r
-               protected:\r
-\r
-                       Value* value;\r
-\r
-               };\r
-       }\r
-}\r
+#pragma once
+
+#include "Value.h"
+
+#include <string>
+
+namespace Databoard {
+       namespace Value {
+
+               class DATABOARD_API OptionalValue : public Value {
+               public:
+                       OptionalValue(Databoard::Type::DataType* dataBoard);
+                       virtual ~OptionalValue();
+
+                       virtual std::string writeOut(int indent = 0);
+                       virtual bool equals(const Value* other);
+
+                       void setValue(Value* value);
+                       void setNoValue();
+
+                       // Get the value or null if value doesn't exist
+                       Value* getValue();
+                       bool hasValue();
+
+                       virtual std::string isValid();
+
+
+               protected:
+
+                       Value* value;
+
+               };
+       }
+}