Class TextInterface::GetSetFunction

template<class C, class Get, class Set>
class GetSetFunction : public TextInterface::GetFunction<C, Get>

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

Public Functions

inline GetSetFunction(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.