Own fork of MbedSmartRest
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of MbedSmartRest by
Diff: NullValue.cpp
- Revision:
- 11:e1bee9a77652
- Parent:
- 0:099f76422485
- Child:
- 19:81dfc04ce0bb
--- a/NullValue.cpp Thu Oct 23 14:41:58 2014 +0200 +++ b/NullValue.cpp Sat Nov 15 11:21:01 2014 +0100 @@ -28,44 +28,46 @@ #include "NullValue.h" + NullValue aNullValue; +/*-------------------------------------------------------------------------*/ NullValue::NullValue() { } - +/*-------------------------------------------------------------------------*/ uint8_t NullValue::valueType() const { - return VALUE_NULL; + return VALUE_NULL; } - +/*-------------------------------------------------------------------------*/ long NullValue::integerValue() const { - return 0; + return 0; } - +/*-------------------------------------------------------------------------*/ double NullValue::floatValue() const { - return 0.0; + return 0.0; } - +/*-------------------------------------------------------------------------*/ char * NullValue::characterValue() const { - return NULL; + return NULL; } - +/*-------------------------------------------------------------------------*/ size_t NullValue::write(AbstractDataSink&) const { - return 0; + return 0; } - +/*-------------------------------------------------------------------------*/ size_t NullValue::length() const { - return 0; + return 0; } - +/*-------------------------------------------------------------------------*/ Value* NullValue::copy() const { - return new NullValue(); + return new NullValue(); } - +/*-------------------------------------------------------------------------*/