]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/RecordType.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / RecordType.h
index 647c9473f1f346414e751c9325401d4ca42d3fcc..a60bf593a5f88ba1cef69c3310868a62c4bfd144 100644 (file)
@@ -1,37 +1,37 @@
-#pragma once\r
-\r
-#include "DataType.h"\r
-\r
-#include <vector>\r
-\r
-namespace Databoard {\r
-       namespace Type {\r
-\r
-               class DATABOARD_API Component;\r
-\r
-               class DATABOARD_API RecordType : public DataType {\r
-               public:\r
-                       RecordType();\r
-                       RecordType(bool referable, std::vector<Component*> components);\r
-\r
-                       virtual ~RecordType();\r
-\r
-                       bool isReferable();\r
-\r
-                       void addComponent(std::string name, DataType* type);\r
-                       int getComponentIndex(std::string fieldName);\r
-                       Component* getComponent(std::string fieldName);\r
-                       int count();\r
-                       Component* getComponent(int i);\r
-                       std::vector<Component*> getComponents();\r
-\r
-                       virtual std::string writeOut(int indent = 0);\r
-\r
-               protected:\r
-\r
-                       bool referable;\r
-                       std::vector<Component*> components;\r
-\r
-               };\r
-       }\r
-}\r
+#pragma once
+
+#include "DataType.h"
+
+#include <vector>
+
+namespace Databoard {
+       namespace Type {
+
+               class DATABOARD_API Component;
+
+               class DATABOARD_API RecordType : public DataType {
+               public:
+                       RecordType();
+                       RecordType(bool referable, std::vector<Component*> components);
+
+                       virtual ~RecordType();
+
+                       bool isReferable();
+
+                       void addComponent(std::string name, DataType* type);
+                       int getComponentIndex(std::string fieldName);
+                       Component* getComponent(std::string fieldName);
+                       int count();
+                       Component* getComponent(int i);
+                       std::vector<Component*> getComponents();
+
+                       virtual std::string writeOut(int indent = 0);
+
+               protected:
+
+                       bool referable;
+                       std::vector<Component*> components;
+
+               };
+       }
+}