aboutsummaryrefslogtreecommitdiffstats
path: root/libdash/source/helpers/String.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdash/source/helpers/String.h')
-rw-r--r--libdash/source/helpers/String.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libdash/source/helpers/String.h b/libdash/source/helpers/String.h
new file mode 100644
index 00000000..73ac6db8
--- /dev/null
+++ b/libdash/source/helpers/String.h
@@ -0,0 +1,31 @@
+/*
+ * String.h
+ *****************************************************************************
+ * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved
+ *
+ * Email: libdash-dev@vicky.bitmovin.net
+ *
+ * This source code and its use and distribution, is subject to the terms
+ * and conditions of the applicable license agreement.
+ *****************************************************************************/
+
+#ifndef STRING_H_
+#define STRING_H_
+
+#include "config.h"
+
+namespace dash
+{
+ namespace helpers
+ {
+ class String
+ {
+ public:
+ static void Split (const std::string &s, char delim, std::vector<std::string>& vector);
+ static void Split (const std::string &s, char delim, std::vector<uint32_t>& vector);
+ static bool ToBool (const std::string &s);
+ };
+ }
+}
+
+#endif /* STRING_H_ */ \ No newline at end of file