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

#include <ICommonValue.hpp>

+ Inheritance diagram for kaa::ICommonValue:

Public Member Functions

 ICommonValue (CommonValueType type)
 
virtual ~ICommonValue ()
 
virtual const boost::any getValue () const =0
 
virtual avro::GenericDatum toAvro () const =0
 
virtual std::string toString () const =0
 
CommonValueType getCommonType ()
 

Protected Attributes

CommonValueType type_
 

Detailed Description

Common interface for configuration objects

Definition at line 30 of file ICommonValue.hpp.

Constructor & Destructor Documentation

kaa::ICommonValue::ICommonValue ( CommonValueType  type)
inline

Definition at line 32 of file ICommonValue.hpp.

virtual kaa::ICommonValue::~ICommonValue ( )
inlinevirtual

Definition at line 33 of file ICommonValue.hpp.

Member Function Documentation

CommonValueType kaa::ICommonValue::getCommonType ( )
inline

Retrieves type of the nested object

See also
CommonValueType

Definition at line 55 of file ICommonValue.hpp.

virtual const boost::any kaa::ICommonValue::getValue ( ) const
pure virtual
virtual avro::GenericDatum kaa::ICommonValue::toAvro ( ) const
pure virtual

Retrieves Avro representation of the nested object

Implemented in kaa::CommonValue< T, CVT >, kaa::CommonFixed, kaa::CommonRecord, kaa::CommonEnum, kaa::CommonArray, and kaa::CommonNull.

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

Member Data Documentation

CommonValueType kaa::ICommonValue::type_
protected

Definition at line 57 of file ICommonValue.hpp.


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