#include <Symbolizer.h>
Public Types | |
typedef std::map< std::string, SymbolizerFnctSerializeType > | SymbolizerFnctIdxType |
typedef std::pair< SymbolizerReadFnctType, SymbolizerWriteFnctType > | SymbolizerFnctSerializeType |
typedef boost::function< te::se::Symbolizer *(te::xml::Reader &)> | SymbolizerReadFnctType |
typedef boost::function< void(const te::se::Symbolizer *, te::xml::AbstractWriter &)> | SymbolizerWriteFnctType |
Public Member Functions | |
te::se::Symbolizer * | read (te::xml::Reader &reader) const |
void | reg (const std::string &symbolizerType, const SymbolizerFnctSerializeType &fncts) |
void | write (const te::se::Symbolizer *symbolizer, te::xml::AbstractWriter &writer) const |
~Symbolizer () | |
Static Public Member Functions | |
static T & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
Symbolizer () | |
Private Attributes | |
SymbolizerFnctIdxType | m_fncts |
Friends | |
class | te::common::Singleton< Symbolizer > |
Definition at line 54 of file Symbolizer.h.
typedef std::map<std::string, SymbolizerFnctSerializeType> te::se::serialize::Symbolizer::SymbolizerFnctIdxType |
Definition at line 63 of file Symbolizer.h.
typedef std::pair<SymbolizerReadFnctType, SymbolizerWriteFnctType> te::se::serialize::Symbolizer::SymbolizerFnctSerializeType |
Definition at line 62 of file Symbolizer.h.
typedef boost::function<te::se::Symbolizer* (te::xml::Reader&)> te::se::serialize::Symbolizer::SymbolizerReadFnctType |
Definition at line 60 of file Symbolizer.h.
typedef boost::function<void (const te::se::Symbolizer*, te::xml::AbstractWriter&)> te::se::serialize::Symbolizer::SymbolizerWriteFnctType |
Definition at line 61 of file Symbolizer.h.
te::se::serialize::Symbolizer::~Symbolizer | ( | ) |
|
protected |
|
inlinestaticinherited |
It returns a reference to the singleton instance.
Definition at line 126 of file Singleton.h.
te::se::Symbolizer* te::se::serialize::Symbolizer::read | ( | te::xml::Reader & | reader | ) | const |
void te::se::serialize::Symbolizer::reg | ( | const std::string & | symbolizerType, |
const SymbolizerFnctSerializeType & | fncts | ||
) |
void te::se::serialize::Symbolizer::write | ( | const te::se::Symbolizer * | symbolizer, |
te::xml::AbstractWriter & | writer | ||
) | const |
|
friend |
Definition at line 56 of file Symbolizer.h.
|
private |
Definition at line 79 of file Symbolizer.h.