]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/Component.cpp
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / Component.cpp
index d83ca2a0df11b502ad1acc245a73758aae554796..7ab2c8a4c9c5b606107655baba6b9d869467b270 100644 (file)
@@ -1,36 +1,36 @@
-#include "Component.h"\r
-\r
-#include "DataType.h"\r
-\r
-#include <iostream>\r
-\r
-namespace Databoard {\r
-       namespace Type {\r
-\r
-               Component::Component(std::string name, DataType* type)\r
-               {\r
-                       usingBuiltInType = type->getNotBuiltIn();\r
-                       \r
-                       this->name = name;\r
-                       this->type = type;\r
-               }\r
-\r
-               Component::~Component()\r
-               {\r
-                       if(type != NULL && usingBuiltInType == false)\r
-                       {\r
-                               delete type;\r
-                       }\r
-               }\r
-\r
-               std::string Component::getName()\r
-               {\r
-                       return name;\r
-               }\r
-\r
-               DataType* Component::getDataBoard()\r
-               {\r
-                       return type;\r
-               }\r
-       }\r
-}\r
+#include "Component.h"
+
+#include "DataType.h"
+
+#include <iostream>
+
+namespace Databoard {
+       namespace Type {
+
+               Component::Component(std::string name, DataType* type)
+               {
+                       usingBuiltInType = type->getNotBuiltIn();
+                       
+                       this->name = name;
+                       this->type = type;
+               }
+
+               Component::~Component()
+               {
+                       if(type != NULL && usingBuiltInType == false)
+                       {
+                               delete type;
+                       }
+               }
+
+               std::string Component::getName()
+               {
+                       return name;
+               }
+
+               DataType* Component::getDataBoard()
+               {
+                       return type;
+               }
+       }
+}