mbed.org implementation of the abstract SmartREST library for the Cumulocity Platform SmartREST protocol.
Dependents: MbedSmartRestMain MbedSmartRestMain
Diff: Record.h
- Revision:
- 11:e1bee9a77652
- Parent:
- 5:2b74510900da
diff -r 97077cfa13fc -r e1bee9a77652 Record.h --- a/Record.h Thu Oct 23 14:41:58 2014 +0200 +++ b/Record.h Sat Nov 15 11:21:01 2014 +0100 @@ -38,31 +38,31 @@ */ class Record : public DataGenerator { -public: - virtual ~Record() { }; + public: + virtual ~Record() { }; - /** - * Returns the number of values in this record. - * @return number of values in this record - */ - virtual size_t values() const = 0; + /** + * Returns the number of values in this record. + * @return number of values in this record + */ + virtual size_t values() const = 0; - /** - * Returns the value object by index - * @param index the index of the value - * @return a copy of a value object - */ - virtual const Value& value(size_t) const = 0; + /** + * Returns the value object by index + * @param index the index of the value + * @return a copy of a value object + */ + virtual const Value& value(size_t) const = 0; - size_t writeTo(AbstractDataSink&) const; - size_t writtenLength() const; + size_t writeTo(AbstractDataSink&) const; + size_t writtenLength() const; - virtual Record* copy() const = 0; + virtual Record* copy() const = 0; - /** - * Test if record contains any values. - */ - operator bool() const; + /** + * Test if record contains any values. + */ + operator bool() const; }; #endif