]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/cpp/DataBoardTest/DataBoard/StringType.h
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / cpp / DataBoardTest / DataBoard / StringType.h
index 632683026694d89a8055912e5741627db2bf91cd..aa655c1d45851bde3ac01f1cedd382f19b222379 100644 (file)
@@ -1,41 +1,41 @@
-#pragma once\r
-\r
-#include <string>\r
-\r
-#include "DataType.h"\r
-\r
-#include <climits>\r
-\r
-namespace Databoard {\r
-       class Range;\r
-\r
-       namespace Type {\r
-\r
-               class DATABOARD_API StringType : public DataType {\r
-               public:\r
-                       StringType();\r
-                       StringType(std::string pattern);\r
-                       StringType(std::string pattern, std::string mimeType, Range* length);\r
-\r
-                       virtual ~StringType();\r
-\r
-                       std::string getPattern();\r
-                       void setPattern(std::string pattern);\r
-                       std::string getMimeType();\r
-                       void setMimeType(std::string mimeType);\r
-                       Range* getLength();\r
-                       void setLength(Range* length);\r
-                       int minLength();\r
-                       int maxLength();\r
-\r
-                       virtual std::string writeOut(int indent = 0);\r
-\r
-               protected:\r
-\r
-                       std::string pattern;\r
-                       std::string mimeType;\r
-                       Range* length;\r
-\r
-               };\r
-       }\r
-}\r
+#pragma once
+
+#include <string>
+
+#include "DataType.h"
+
+#include <climits>
+
+namespace Databoard {
+       class Range;
+
+       namespace Type {
+
+               class DATABOARD_API StringType : public DataType {
+               public:
+                       StringType();
+                       StringType(std::string pattern);
+                       StringType(std::string pattern, std::string mimeType, Range* length);
+
+                       virtual ~StringType();
+
+                       std::string getPattern();
+                       void setPattern(std::string pattern);
+                       std::string getMimeType();
+                       void setMimeType(std::string mimeType);
+                       Range* getLength();
+                       void setLength(Range* length);
+                       int minLength();
+                       int maxLength();
+
+                       virtual std::string writeOut(int indent = 0);
+
+               protected:
+
+                       std::string pattern;
+                       std::string mimeType;
+                       Range* length;
+
+               };
+       }
+}