pion::platform::TransformURLEncode Class Reference

#include <Transform.hpp>

Inherits pion::platform::Transform.

List of all members.


Detailed Description

TransformURLEncode -- Transformation of URLEncoding source term into destination.

Definition at line 257 of file Transform.hpp.

Public Member Functions

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


Constructor & Destructor Documentation

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

TransformURLEncode constructs a transformation of URLEncoding

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 272 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::TransformURLEncode::transform ( EventPtr d,
const EventPtr s 
) [inline, virtual]

transform Assigns a URLEncoded copy of source 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 293 of file Transform.hpp.

References pion::platform::AssignValue(), and pion::algo::url_encode().


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