#include <Style.h>
Public Types | |
typedef std::map< std::string, StyleFnctSerializeType > | StyleFnctIdxType |
typedef std::pair< StyleReadFnctType, StyleWriteFnctType > | StyleFnctSerializeType |
typedef boost::function< te::se::Style *(te::xml::Reader &)> | StyleReadFnctType |
typedef boost::function< void(const te::se::Style *, te::xml::AbstractWriter &)> | StyleWriteFnctType |
Public Member Functions | |
te::se::Style * | read (te::xml::Reader &reader) const |
void | reg (const std::string &styleType, const StyleFnctSerializeType &fncts) |
void | write (const te::se::Style *style, te::xml::AbstractWriter &writer) const |
~Style () | |
Static Public Member Functions | |
static Style & | getInstance () |
It returns a reference to the singleton instance. More... | |
Protected Member Functions | |
Style () | |
Private Attributes | |
StyleFnctIdxType | m_fncts |
Friends | |
class | te::common::Singleton< Style > |
typedef std::map<std::string, StyleFnctSerializeType> te::se::serialize::Style::StyleFnctIdxType |
typedef std::pair<StyleReadFnctType, StyleWriteFnctType> te::se::serialize::Style::StyleFnctSerializeType |
typedef boost::function<te::se::Style* (te::xml::Reader&)> te::se::serialize::Style::StyleReadFnctType |
typedef boost::function<void (const te::se::Style*, te::xml::AbstractWriter&)> te::se::serialize::Style::StyleWriteFnctType |
te::se::serialize::Style::~Style | ( | ) |
|
protected |
|
inlinestaticinherited |
It returns a reference to the singleton instance.
Definition at line 126 of file Singleton.h.
te::se::Style* te::se::serialize::Style::read | ( | te::xml::Reader & | reader | ) | const |
void te::se::serialize::Style::reg | ( | const std::string & | styleType, |
const StyleFnctSerializeType & | fncts | ||
) |
void te::se::serialize::Style::write | ( | const te::se::Style * | style, |
te::xml::AbstractWriter & | writer | ||
) | const |
|
friend |
|
private |