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

Dependents:   MbedSmartRestMain MbedSmartRestMain

Revision:
11:e1bee9a77652
Parent:
5:2b74510900da
--- a/FloatValue.h	Thu Oct 23 14:41:58 2014 +0200
+++ b/FloatValue.h	Sat Nov 15 11:21:01 2014 +0100
@@ -50,32 +50,32 @@
  */
 class FloatValue : public Value
 {
-public:
-    /**
-     * Creates a new instance of a floating-point value.
-     * @param number the floating-point number
-     * @param digits precision in number of digits
-     * @param zflag whether to write a zero before the floating point
-     */
-    FloatValue(double, uint8_t = SMARTREST_FLOATVALUE_DETECTPREC, bool = true);
+	public:
+		/**
+		 * Creates a new instance of a floating-point value.
+		 * @param number the floating-point number
+		 * @param digits precision in number of digits
+		 * @param zflag whether to write a zero before the floating point
+		 */
+		FloatValue(double, uint8_t = SMARTREST_FLOATVALUE_DETECTPREC, bool = true);
 
-    uint8_t valueType() const;
-    long integerValue() const;
-    double floatValue() const;
-    const char * characterValue() const;
+		uint8_t valueType() const;
+		long integerValue() const;
+		double floatValue() const;
+		const char * characterValue() const;
 
-    size_t write(AbstractDataSink&) const;
-    size_t length() const;
-    Value* copy() const;
+		size_t write(AbstractDataSink&) const;
+		size_t length() const;
+		Value* copy() const;
 
-protected:
-    uint8_t detectPrecision(double);
+	protected:
+		uint8_t detectPrecision(double);
 
-private:
-    double _number;
-    bool _negative;
-    uint8_t _digits;
-    bool _zflag;
+	private:
+		double _number;
+		bool _negative;
+		uint8_t _digits;
+		bool _zflag;
 };
 
 #endif