Own fork of MbedSmartRest
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of MbedSmartRest by
Diff: ComposedRecord.h
- Revision:
- 11:e1bee9a77652
- Parent:
- 5:2b74510900da
- Child:
- 15:e30cb7ae56af
--- a/ComposedRecord.h Thu Oct 23 14:41:58 2014 +0200 +++ b/ComposedRecord.h Sat Nov 15 11:21:01 2014 +0100 @@ -68,27 +68,27 @@ */ class ComposedRecord : public Record { -public: - ComposedRecord(bool = false); - ~ComposedRecord(); + public: + ComposedRecord(bool = false); + ~ComposedRecord(); - bool add(const Value&); - void clear(); + bool add(const Value&); + void clear(); - size_t values() const; - const Value& value(size_t) const; + size_t values() const; + const Value& value(size_t) const; - ComposedRecord* copy() const; + ComposedRecord* copy() const; -private: - #ifndef SMARTREST_COMPOSED_FIXED_SIZE - const Value **_values; - size_t _capacity; - #else - const Value *_values[SMARTREST_COMPOSED_FIXED_SIZE]; - #endif - size_t _count; - bool _alloc; + private: +#ifndef SMARTREST_COMPOSED_FIXED_SIZE + const Value **_values; + size_t _capacity; +#else + const Value *_values[SMARTREST_COMPOSED_FIXED_SIZE]; +#endif + size_t _count; + bool _alloc; }; #endif