#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 | ( | ) |
|
protected |
|
staticinherited |
It returns a reference to the singleton instance.
te::fe::AbstractOp* te::fe::serialize::AbstractOp::read | ( | te::xml::Reader & | reader | ) | const |
void te::fe::serialize::AbstractOp::reg | ( | const std::string & | opName, |
const AbstractOpFnctSerializeType & | fncts | ||
) |
void te::fe::serialize::AbstractOp::write | ( | const te::fe::AbstractOp * | op, |
te::xml::AbstractWriter & | writer | ||
) | const |
|
friend |
Definition at line 56 of file AbstractOp.h.
|
private |
Definition at line 79 of file AbstractOp.h.
|
private |
Auxiliary map of string to te::fe::Global names pointers.
Definition at line 80 of file AbstractOp.h.