]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/ArrayValue.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / ArrayValue.h
index 390096fe77888d47d923dd0c725f010a0a980603..e3869869cc7599c6ce0b0f4a09de4e0e79c777ad 100644 (file)
@@ -1,37 +1,37 @@
-#pragma once\r
-\r
-#include "Value.h"\r
-\r
-#include <string>\r
-#include <vector>\r
-\r
-namespace Databoard {\r
-       namespace Value {\r
-\r
-               class DATABOARD_API ArrayValue : public Value {\r
-               public:\r
-                       ArrayValue(Databoard::Type::DataType* dataBoard);\r
-                       virtual ~ArrayValue();\r
-\r
-                       virtual std::string writeOut(int indent = 0);\r
-                       virtual bool equals(const Value* other);\r
-\r
-                       void add(Value* value);\r
-                       void insert(Value* value, int index);\r
-                       int count();\r
-                       void remove(int index, int count);\r
-                       void clear();\r
-                       Value* get(int index);\r
-\r
-                       // snapshot of the array\r
-                       std::vector<Value*> getAll();\r
-\r
-                       virtual std::string isValid();\r
-\r
-               protected:\r
-\r
-                       std::vector<Value*> values;\r
-\r
-               };\r
-       }\r
-}\r
+#pragma once
+
+#include "Value.h"
+
+#include <string>
+#include <vector>
+
+namespace Databoard {
+       namespace Value {
+
+               class DATABOARD_API ArrayValue : public Value {
+               public:
+                       ArrayValue(Databoard::Type::DataType* dataBoard);
+                       virtual ~ArrayValue();
+
+                       virtual std::string writeOut(int indent = 0);
+                       virtual bool equals(const Value* other);
+
+                       void add(Value* value);
+                       void insert(Value* value, int index);
+                       int count();
+                       void remove(int index, int count);
+                       void clear();
+                       Value* get(int index);
+
+                       // snapshot of the array
+                       std::vector<Value*> getAll();
+
+                       virtual std::string isValid();
+
+               protected:
+
+                       std::vector<Value*> values;
+
+               };
+       }
+}