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:
56:e5e5351f14b3
Parent:
39:6e94520a3217
Child:
141:571e0ef6c8dc
--- a/utils/MTSText.h	Thu Dec 19 22:11:16 2013 +0000
+++ b/utils/MTSText.h	Fri Dec 20 20:26:46 2013 +0000
@@ -5,19 +5,41 @@
 #include <vector>
 #include <stddef.h>
 
-namespace mts {
+namespace mts
+{
+
+class Text
+{
+
+public:
+    /**
+    *
+    * @param source
+    * @param start
+    * @param cursor
+    */
+    static std::string getLine(const std::string& source, const size_t& start, size_t& cursor);
 
-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);
+    /**
+    *
+    * @param str
+    * @param delimiter
+    * @param limit
+    */
+    static std::vector<std::string> split(const std::string& str, char delimiter, int limit = 0);
+
+    /**
+    *
+    * @param str
+    * @param delimiter
+    * @param limit
+    */
+    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);
 };
 
 }