A library for talking to Multi-Tech's Cellular SocketModem Devices.

Dependents:   M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more

Revision:
4:6561c9128c6f
Child:
39:6e94520a3217
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/utils/MTSText.h	Wed Dec 11 16:49:21 2013 +0000
@@ -0,0 +1,21 @@
+#ifndef MTSTEXT_H_
+#define MTSTEXT_H_
+
+#include <string>
+#include <vector>
+#include <stddef.h>
+
+class Text {
+    
+    public:
+        static std::string getLine(const std::string& source, const size_t& start, size_t& cursor);
+        static std::vector<std::string> split(const std::string& str, char delimiter, int limit = 0);
+        static std::vector<std::string> split(const std::string& str, const std::string& delimiter, int limit = 0);
+        
+    private:
+        Text();
+        Text(const Text& other);
+        Text& operator=(const Text& other);
+};
+
+#endif