pion::platform::TransformAssignTerm Class Reference

#include <Transform.hpp>

Inherits pion::platform::Transform.

List of all members.


Detailed Description

TransformAssignTerm -- Transformation based on copying Terms from the source event Should the type be re-cast, if non-matching?

Definition at line 208 of file Transform.hpp.

Public Member Functions

 TransformAssignTerm (const Vocabulary &v, const Vocabulary::Term &term, const xmlNodePtr config_ptr)
virtual bool transform (EventPtr &d, const EventPtr &s)


Constructor & Destructor Documentation

pion::platform::TransformAssignTerm::TransformAssignTerm ( const Vocabulary v,
const Vocabulary::Term term,
const xmlNodePtr  config_ptr 
) [inline]

TransformAssignTerm constructs a transformation assignment based on a source term

Parameters:
v Vocabulary to use
term The source term type to use
config_ptr Pointer to XML configuration of the AssignTerm entity

Definition at line 223 of file Transform.hpp.

References pion::platform::Vocabulary::findTerm(), pion::platform::ConfigManager::getConfigOption(), and pion::platform::Vocabulary::UNDEFINED_TERM_REF.


Member Function Documentation

virtual bool pion::platform::TransformAssignTerm::transform ( EventPtr d,
const EventPtr s 
) [inline, virtual]

transform Assigns a copy of the source term into the destination event/term

Parameters:
d Destination event (pointer) to modify term
s Source event to copy the termS/valueS from
Returns:
true if the Transformation occured; false if it did not

Implements pion::platform::Transform.

Definition at line 244 of file Transform.hpp.

References pion::platform::AssignValue().


The documentation for this class was generated from the following file:
Generated on Wed Apr 13 16:38:36 2011 for pion-platform by  doxygen 1.4.7