Class TextInterface::IsAProxy

template<class C, class P>
class IsAProxy : public TextInterface::AttributeAdapter<C, P>

Proxy enables attribute interface from parent to be used by child.

In this template: C is a P

Public Functions

inline IsAProxy(const Attribute<P> *pa)

Construct from a pointer to parent class attribute interface.

inline IsAProxy(const IsAProxy &copy)

Copy constructor.

inline virtual Attribute<C> *clone() const

Retun a newly constructed copy.

inline virtual std::string get_value(const C *ptr) const

Get the value of the attribute.

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

Set the value of the attribute.