Own fork of MbedSmartRest
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of MbedSmartRest by
Diff: FloatValue.h
- Revision:
- 19:81dfc04ce0bb
- Parent:
- 11:e1bee9a77652
--- a/FloatValue.h Fri Mar 06 10:37:09 2015 +0000 +++ b/FloatValue.h Fri Mar 20 14:26:52 2015 +0000 @@ -59,14 +59,14 @@ */ FloatValue(double, uint8_t = SMARTREST_FLOATVALUE_DETECTPREC, bool = true); - uint8_t valueType() const; - long integerValue() const; - double floatValue() const; - const char * characterValue() const; + virtual uint8_t valueType() const; + virtual long integerValue() const; + virtual double floatValue() const; + virtual const char * characterValue() const; - size_t write(AbstractDataSink&) const; - size_t length() const; - Value* copy() const; + virtual size_t write(AbstractDataSink&) const; + virtual size_t length() const; + virtual Value* copy() const; protected: uint8_t detectPrecision(double);