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

#include <FieldProcessor.hpp>

Public Member Functions

 FieldProcessor (boost::shared_ptr< ICommonRecord > parent, const std::string &field)
 
 ~FieldProcessor ()
 
void setStrategy (AbstractStrategy *strategy)
 
void process (const avro::GenericDatum &d)
 

Detailed Description

Processes a field in record using concrete processing strategy.

Definition at line 27 of file FieldProcessor.hpp.

Constructor & Destructor Documentation

kaa::FieldProcessor::FieldProcessor ( boost::shared_ptr< ICommonRecord parent,
const std::string &  field 
)
inline

Definition at line 29 of file FieldProcessor.hpp.

kaa::FieldProcessor::~FieldProcessor ( )
inline

Definition at line 31 of file FieldProcessor.hpp.

Member Function Documentation

void kaa::FieldProcessor::process ( const avro::GenericDatum &  d)
inline

Definition at line 39 of file FieldProcessor.hpp.

void kaa::FieldProcessor::setStrategy ( AbstractStrategy strategy)
inline

Sets a strategy for processing.

Parameters
strategyPointer to a strategy. Memory will be freed when this destroyed.

Definition at line 38 of file FieldProcessor.hpp.


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