client-cpp  0.0.1-SNAPSHOT
kaa::CommonEnum Class Reference

#include <CommonEnum.hpp>

+ Inheritance diagram for kaa::CommonEnum:
+ Collaboration diagram for kaa::CommonEnum:

Public Member Functions

 CommonEnum (const avro::NodePtr &schema)
 
const boost::any getValue () const
 
const avro::NodePtr & getSchema () const
 
avro::GenericDatum toAvro () const
 
std::string toString () const
 
void setValue (const std::string &value)
 
- Public Member Functions inherited from kaa::ICommonValue
 ICommonValue (CommonValueType type)
 
virtual ~ICommonValue ()
 
CommonValueType getCommonType ()
 
- Public Member Functions inherited from kaa::ISchemaDependent
virtual ~ISchemaDependent ()
 

Additional Inherited Members

- Protected Attributes inherited from kaa::ICommonValue
CommonValueType type_
 

Detailed Description

Definition at line 27 of file CommonEnum.hpp.

Constructor & Destructor Documentation

kaa::CommonEnum::CommonEnum ( const avro::NodePtr &  schema)

Member Function Documentation

const avro::NodePtr& kaa::CommonEnum::getSchema ( ) const
inlinevirtual
Returns
schema object
See also
NodePtr

Implements kaa::ISchemaDependent.

Definition at line 32 of file CommonEnum.hpp.

const boost::any kaa::CommonEnum::getValue ( ) const
inlinevirtual

Retrieves nested object

Implements kaa::ICommonValue.

Definition at line 31 of file CommonEnum.hpp.

void kaa::CommonEnum::setValue ( const std::string &  value)
avro::GenericDatum kaa::CommonEnum::toAvro ( ) const
virtual

Retrieves Avro representation of the nested object

Implements kaa::ICommonValue.

std::string kaa::CommonEnum::toString ( ) const
virtual

Retrieves string representation of the nested object

Implements kaa::ICommonValue.


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