mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
Diff: NullValue.cpp
- Revision:
- 11:e1bee9a77652
- Parent:
- 0:099f76422485
diff -r 97077cfa13fc -r e1bee9a77652 NullValue.cpp --- 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(); } - +/*-------------------------------------------------------------------------*/