mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
Diff: CharValue.h
- Revision:
- 11:e1bee9a77652
- Parent:
- 7:8159a2d12e4e
diff -r 97077cfa13fc -r e1bee9a77652 CharValue.h --- a/CharValue.h Thu Oct 23 14:41:58 2014 +0200 +++ b/CharValue.h Sat Nov 15 11:21:01 2014 +0100 @@ -50,25 +50,25 @@ */ class CharValue : public Value { -public: - CharValue(const char*, bool = false); - ~CharValue(); + public: + CharValue(const char*, bool = false); + ~CharValue(); - 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: - bool escapeCheck(); + protected: + bool escapeCheck(); -private: - const char *_str; - bool _escape, _alloc; + private: + const char *_str; + bool _escape, _alloc; }; #endif