Class TextInterface::Attribute

template<class C>
class Attribute : public TextInterface::Value

Text interface to a class attribute.

Subclassed by TextInterface::AdapterBase< Attribute< C >, Attribute< M > >, TextInterface::AdapterBase< Attribute< C >, Attribute< P > >, TextInterface::AttributeGet< C, Get >, TextInterface::ElementGet< C, Get, Size >, TextInterface::GetFunction< C, Get >

Public Functions

inline Attribute()

Default constructor.

inline virtual std::string get_value() const

Get the value of the attribute.

inline virtual void set_value(const std::string &value)

Set the value of the attribute.

virtual Attribute *clone() const = 0

Retun a newly constructed copy.

virtual std::string get_value(const C*) const = 0

Get the value of the attribute.

virtual void set_value(C*, const std::string &value) = 0

Set the value of the attribute.

virtual void set_description(const std::string&) = 0

Set the description of the value.

virtual void set_detailed_description(const std::string&) = 0

Set the detailed description of the value.

Public Members

mutable Reference::To<C, false> instance

Pointer to the instance from which attribute value will be obtained.