Class TextInterface::AttributeGetSet

template<class C, class Type, class Get, class Set>
class AttributeGetSet : public TextInterface::AttributeGet<C, Get>

Interface to a class attribute with an accessor and modifier methods.

Subclassed by TextInterface::OptionalInterface< C, Type, Get, Set >

Public Functions

inline AttributeGetSet(const std::string &_name, Get _get, Set _set)

Constructor.

inline virtual Attribute<C> *clone() const

Return a clone.

inline virtual void set_value(C *ptr, const std::string &value)

Set the value of the attribute.