#include <AbstractOp.h>
Public Types | |
typedef std::map< std::string, AbstractOpFnctSerializeType > | AbstractOpFnctIdxType |
typedef std::pair < AbstractOpReadFnctType, AbstractOpWriteFnctType > | AbstractOpFnctSerializeType |
typedef boost::function < te::fe::AbstractOp *(const char *opName, te::xml::Reader &)> | AbstractOpReadFnctType |
typedef boost::function< void(const te::fe::AbstractOp *, te::xml::AbstractWriter &)> | AbstractOpWriteFnctType |
Public Member Functions | |
te::fe::AbstractOp * | read (te::xml::Reader &reader) const |
void | reg (const std::string &opName, const AbstractOpFnctSerializeType &fncts) |
void | write (const te::fe::AbstractOp *op, te::xml::AbstractWriter &writer) const |
~AbstractOp () | |
Static Public Member Functions | |
static AbstractOp & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
AbstractOp () | |
Private Attributes | |
AbstractOpFnctIdxType | m_fncts |
std::map< std::string, const char * > | m_names |
Auxiliary map of string to te::fe::Global names pointers. More... | |
Friends | |
class | te::common::Singleton< AbstractOp > |
Definition at line 54 of file AbstractOp.h.
typedef std::map<std::string, AbstractOpFnctSerializeType> te::fe::serialize::AbstractOp::AbstractOpFnctIdxType |
Definition at line 63 of file AbstractOp.h.
typedef std::pair<AbstractOpReadFnctType, AbstractOpWriteFnctType> te::fe::serialize::AbstractOp::AbstractOpFnctSerializeType |
Definition at line 62 of file AbstractOp.h.
typedef boost::function<te::fe::AbstractOp* (const char* opName, te::xml::Reader&)> te::fe::serialize::AbstractOp::AbstractOpReadFnctType |
Definition at line 60 of file AbstractOp.h.
typedef boost::function<void (const te::fe::AbstractOp*, te::xml::AbstractWriter&)> te::fe::serialize::AbstractOp::AbstractOpWriteFnctType |
Definition at line 61 of file AbstractOp.h.
te::fe::serialize::AbstractOp::~AbstractOp | ( | ) |
Definition at line 129 of file AbstractOp.cpp.
|
protected |
Definition at line 133 of file AbstractOp.cpp.
References BBOXReader(), BBOXWriter(), BetweenReader(), BetweenWriter(), BinaryComparsionOpReader(), BinaryComparsionOpWriter(), BinaryLogicOpReader(), BinaryLogicOpWriter(), BinarySpatialOpReader(), BinarySpatialOpWriter(), DistanceBufferOpWriter(), DistanceBufferReader(), LikeReader(), LikeWriter(), NullReader(), NullWriter(), te::fe::Globals::sm_and, te::fe::Globals::sm_bbox, te::fe::Globals::sm_beyond, te::fe::Globals::sm_contains, te::fe::Globals::sm_crosses, te::fe::Globals::sm_disjoint, te::fe::Globals::sm_dWithin, te::fe::Globals::sm_equals, te::fe::Globals::sm_intersects, te::fe::Globals::sm_not, te::fe::Globals::sm_or, te::fe::Globals::sm_overlaps, te::fe::Globals::sm_propertyIsBetween, te::fe::Globals::sm_propertyIsEqualTo, te::fe::Globals::sm_propertyIsGreaterThan, te::fe::Globals::sm_propertyIsGreaterThanOrEqualTo, te::fe::Globals::sm_propertyIsLessThan, te::fe::Globals::sm_propertyIsLessThanOrEqualTo, te::fe::Globals::sm_propertyIsLike, te::fe::Globals::sm_propertyIsNotEqualTo, te::fe::Globals::sm_propertyIsNull, te::fe::Globals::sm_touches, te::fe::Globals::sm_within, UnaryLogicOpReader(), and UnaryLogicOpWriter().
|
staticinherited |
It returns a reference to the singleton instance.
Referenced by BinaryLogicOpReader(), BinaryLogicOpWriter(), te::fe::serialize::ReadFilter(), UnaryLogicOpReader(), and UnaryLogicOpWriter().
te::fe::AbstractOp * te::fe::serialize::AbstractOp::read | ( | te::xml::Reader & | reader | ) | const |
Definition at line 101 of file AbstractOp.cpp.
References te::xml::Reader::getElementLocalName(), and TE_TR.
void te::fe::serialize::AbstractOp::reg | ( | const std::string & | opName, |
const AbstractOpFnctSerializeType & | fncts | ||
) |
Definition at line 96 of file AbstractOp.cpp.
References m_fncts.
void te::fe::serialize::AbstractOp::write | ( | const te::fe::AbstractOp * | op, |
te::xml::AbstractWriter & | writer | ||
) | const |
Definition at line 115 of file AbstractOp.cpp.
References te::fe::AbstractOp::getName(), and TE_TR.
Referenced by BinaryLogicOpWriter(), and UnaryLogicOpWriter().
|
friend |
Definition at line 56 of file AbstractOp.h.
|
private |
Definition at line 79 of file AbstractOp.h.
Referenced by reg().
|
private |
Auxiliary map of string to te::fe::Global names pointers.
Definition at line 80 of file AbstractOp.h.