client-cpp  0.0.1-SNAPSHOT
kaa::IConfigurationDelta Class Referenceabstract

#include <IConfigurationDelta.hpp>

+ Inheritance diagram for kaa::IConfigurationDelta:

Public Member Functions

virtual DeltaHandlerId getHandlerId ()=0
 
virtual bool hasChanged (const std::string &field)=0
 
virtual boost::shared_ptr
< IDeltaType
getDeltaType (const std::string &field)=0
 
virtual std::string toString () const =0
 
virtual ~IConfigurationDelta ()
 

Detailed Description

Definition at line 32 of file IConfigurationDelta.hpp.

Constructor & Destructor Documentation

virtual kaa::IConfigurationDelta::~IConfigurationDelta ( )
inlinevirtual

Definition at line 68 of file IConfigurationDelta.hpp.

Member Function Documentation

virtual boost::shared_ptr<IDeltaType> kaa::IConfigurationDelta::getDeltaType ( const std::string &  field)
pure virtual

Retrieves the delta type of the given field

Parameters
fieldthe name of the field
Returns
delta type of the field, or null if the field was not changed
See also
IDeltaType

Implemented in kaa::DefaultConfigurationDelta.

virtual DeltaHandlerId kaa::IConfigurationDelta::getHandlerId ( )
pure virtual

Retrieves handler id of the current delta

Returns
handler id of this delta, id would be set to 0 if delta hasn't delta id
See also
DeltaHandlerId

Implemented in kaa::DefaultConfigurationDelta.

virtual bool kaa::IConfigurationDelta::hasChanged ( const std::string &  field)
pure virtual

Checks if the field was changed

Parameters
fieldthe name of the field
Returns
true if the field was changed, false otherwise

Implemented in kaa::DefaultConfigurationDelta.

virtual std::string kaa::IConfigurationDelta::toString ( ) const
pure virtual

Retrieves JSON representation of the inner data

Returns
String representation

Implemented in kaa::DefaultConfigurationDelta.


The documentation for this class was generated from the following file: