te::se::serialize::Symbolizer Class Reference

#include <Symbolizer.h>

Inheritance diagram for te::se::serialize::Symbolizer:
te::common::Singleton< T >

Public Types

typedef std::map< std::string, SymbolizerFnctSerializeTypeSymbolizerFnctIdxType
 
typedef std::pair< SymbolizerReadFnctType, SymbolizerWriteFnctTypeSymbolizerFnctSerializeType
 
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::Symbolizerread (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 >
 

Detailed Description

Definition at line 54 of file Symbolizer.h.

Member Typedef Documentation

◆ SymbolizerFnctIdxType

Definition at line 63 of file Symbolizer.h.

◆ SymbolizerFnctSerializeType

◆ SymbolizerReadFnctType

◆ SymbolizerWriteFnctType

Definition at line 61 of file Symbolizer.h.

Constructor & Destructor Documentation

◆ ~Symbolizer()

te::se::serialize::Symbolizer::~Symbolizer ( )

◆ Symbolizer()

te::se::serialize::Symbolizer::Symbolizer ( )
protected

Member Function Documentation

◆ getInstance()

template<class T >
T & te::common::Singleton< T >::getInstance ( )
inlinestaticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.

Definition at line 126 of file Singleton.h.

◆ read()

te::se::Symbolizer* te::se::serialize::Symbolizer::read ( te::xml::Reader reader) const

◆ reg()

void te::se::serialize::Symbolizer::reg ( const std::string &  symbolizerType,
const SymbolizerFnctSerializeType fncts 
)

◆ write()

void te::se::serialize::Symbolizer::write ( const te::se::Symbolizer symbolizer,
te::xml::AbstractWriter writer 
) const

Friends And Related Function Documentation

◆ te::common::Singleton< Symbolizer >

friend class te::common::Singleton< Symbolizer >
friend

Definition at line 56 of file Symbolizer.h.

Member Data Documentation

◆ m_fncts

SymbolizerFnctIdxType te::se::serialize::Symbolizer::m_fncts
private

Definition at line 79 of file Symbolizer.h.


The documentation for this class was generated from the following file: