client-cpp
0.0.1-SNAPSHOT
|
#include <ValueDeltaType.hpp>
Public Member Functions | |
ValueDeltaType (const IDeltaType::DeltaValue &data, const avro::Type &type) | |
virtual const DeltaValue & | getNewValue () |
virtual std::string | toString () const |
Public Member Functions inherited from kaa::EmptyDeltaType | |
virtual bool | isDefault () |
virtual bool | isReset () |
virtual const RemovedItems & | getRemovedItems () |
virtual const AddedItems & | getAddedItems () |
Public Member Functions inherited from kaa::IDeltaType | |
virtual | ~IDeltaType () |
Additional Inherited Members | |
Public Types inherited from kaa::IDeltaType | |
typedef boost::any | DeltaValue |
typedef std::list< DeltaValue > | AddedItems |
typedef std::list< DeltaHandlerId > | RemovedItems |
This delta type may consist of either compound item (IConfigurationDelta) or primitive avro's type (BOOL, ENUM, INT, FLOAT, DOUBLE, STRING, BYTE or FIXED).
Definition at line 33 of file ValueDeltaType.hpp.
|
inline |
Constructor
data | data to be stored |
type | avro type of data |
Definition at line 40 of file ValueDeltaType.hpp.
|
inlinevirtual |
Retrieves new field value
Reimplemented from kaa::EmptyDeltaType.
Definition at line 47 of file ValueDeltaType.hpp.
|
inlinevirtual |
Retrieves JSON representation for compounds or value for the primitive type
Reimplemented from kaa::EmptyDeltaType.
Definition at line 62 of file ValueDeltaType.hpp.