Class TextInterface::Allocator

template<class C, class Type>
class Allocator

AttributeGet and AttributeGetSet factory.

Use this generator function object whenever the get and set methods to not match the patterns supplied by the add template methods of the TextInterface::To class

Subclassed by TextInterface::To< C >::Generator< Type >

Public Functions

template<class Get>
inline AttributeGet<C, Get> *operator()(const std::string &n, Get g)

Generate a new AttributeGet instance.

template<class Get, class Set>
inline AttributeGetSet<C, Type, Get, Set> *operator()(const std::string &n, Get g, Set s)

Generate a new AttributeGetSet instance.

template<class Get>
inline AttributeGet<C, Get> *operator()(const std::string &n, const std::string &d, Get g)

Generate a new AttributeGet instance with description.

template<class Get, class Set>
inline AttributeGetSet<C, Type, Get, Set> *operator()(const std::string &n, const std::string &d, Get g, Set s)

Generate a new AttributeGetSet instance with description.