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

#include <Strategies.hpp>

+ Inheritance diagram for kaa::CommonProcessStrategy:
+ Collaboration diagram for kaa::CommonProcessStrategy:

Public Member Functions

void run (boost::shared_ptr< ICommonRecord > parent, const std::string &field, const avro::GenericDatum &datum)
 
- Public Member Functions inherited from kaa::AbstractStrategy
virtual ~AbstractStrategy ()
 

Detailed Description

Strategy to process simple types (string, numbers, enums, fixed fields, byteArray fields)

Definition at line 131 of file Strategies.hpp.

Member Function Documentation

void kaa::CommonProcessStrategy::run ( boost::shared_ptr< ICommonRecord parent,
const std::string &  field,
const avro::GenericDatum &  datum 
)
virtual

Routine for processing avro datum and insert field into a record by given name.

Parameters
parentRecord which has to contain data represented in datum.
fieldName of a field in a given record.
datumAvro datum containing data to be converted.

Implements kaa::AbstractStrategy.


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