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

#include <CommonArray.hpp>

+ Inheritance diagram for kaa::CommonArray:
+ Collaboration diagram for kaa::CommonArray:

Public Member Functions

 CommonArray (const avro::NodePtr &schema)
 
const boost::any getValue () const
 
const avro::NodePtr & getSchema () const
 
avro::GenericDatum toAvro () const
 
std::string toString () const
 
container_typegetList () const
 
- Public Member Functions inherited from kaa::ICommonArrayBase< Container >
 ICommonArrayBase ()
 
virtual ~ICommonArrayBase ()
 
- 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

- Public Types inherited from kaa::ICommonArrayBase< Container >
typedef Container container_type
 
typedef Container::value_type elements_type
 
- Protected Attributes inherited from kaa::ICommonValue
CommonValueType type_
 

Detailed Description

Definition at line 25 of file CommonArray.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

container_type& kaa::CommonArray::getList ( ) const
virtual

Retrieves list of common values

See also
CommonValue

Implements kaa::ICommonArrayBase< Container >.

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

Implements kaa::ISchemaDependent.

Definition at line 30 of file CommonArray.hpp.

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

Retrieves nested object

Implements kaa::ICommonValue.

Definition at line 29 of file CommonArray.hpp.

avro::GenericDatum kaa::CommonArray::toAvro ( ) const
virtual

Retrieves Avro representation of the nested object

Implements kaa::ICommonValue.

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

Retrieves string representation of the nested object

Implements kaa::ICommonValue.


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