Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

Embed: (wiki syntax)

« Back to documentation index

Record Class Reference

Record Class Reference

A record which can be read and serialized. More...

#include <Record.h>

Inherits DataGenerator.

Public Member Functions

virtual size_t values () const =0
 Returns the number of values in this record.
virtual const Valuevalue (size_t) const =0
 Returns the value object by index.
 operator bool () const
 Test if record contains any values.

Detailed Description

A record which can be read and serialized.

Definition at line 39 of file Record.h.


Member Function Documentation

operator bool (  ) const

Test if record contains any values.

Definition at line 59 of file Record.cpp.

virtual const Value& value ( size_t   ) const [pure virtual]

Returns the value object by index.

Parameters:
indexthe index of the value
Returns:
a copy of a value object
virtual size_t values (  ) const [pure virtual]

Returns the number of values in this record.

Returns:
number of values in this record