mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.

Dependents:   MbedSmartRestMain MbedSmartRestMain

Revision:
11:e1bee9a77652
Parent:
4:059b8b90e0d9
--- a/Parser.h	Thu Oct 23 14:41:58 2014 +0200
+++ b/Parser.h	Sat Nov 15 11:21:01 2014 +0100
@@ -89,31 +89,31 @@
  */
 class Parser
 {
-public:
-    /*
-     * Creates a new Parser instance.
-     */
-    Parser();
+	public:
+		/*
+		 * Creates a new Parser instance.
+		 */
+		Parser();
 
-    /*
-     * Parses a row from a stream.
-     * @param source the source to read from
-     * @param row the object written to
-     * @return a non-zero value if and only if an error occured.
-     */
-    uint8_t readFrom(AbstractDataSource&,ParsedRecord&);
+		/*
+		 * Parses a row from a stream.
+		 * @param source the source to read from
+		 * @param row the object written to
+		 * @return a non-zero value if and only if an error occured.
+		 */
+		uint8_t readFrom(AbstractDataSource&,ParsedRecord&);
 
-private:
-    void parse(char);
-    void append(char);
-    void close();
-    void reset();
+	private:
+		void parse(char);
+		void append(char);
+		void close();
+		void reset();
 
-private:
-    char _buffer[SMARTREST_PARSER_BUFFER_SIZE];
-    uint8_t _state;
-    char *_ptr;
-    size_t _count, _length, _trailing;
+	private:
+		char _buffer[SMARTREST_PARSER_BUFFER_SIZE];
+		uint8_t _state;
+		char *_ptr;
+		size_t _count, _length, _trailing;
 };
 
 #endif