Class TextInterface::VectorOfEstimate

template<class V, class T, class U, class Get, class Size>
class VectorOfEstimate : public TextInterface::Attribute<V>

Proxy enables attribute interface of Estimates in a vector.

In this template: V is a vector of Estimate<T,U>; Get is the method of V that returns const Estimate<T,U>; and Size is the method of V that returns the number elements in V

Public Functions

inline VectorOfEstimate(const std::string &p, const std::string &t, Get g, Size s)

Construct from a pointer to element attribute interface.

inline virtual Attribute<V> *clone() const

Retun a newly constructed copy.

inline virtual std::string get_name() const

Get the name of the attribute.

inline virtual std::string get_description() const

Get the description of the attribute.

inline virtual void set_description(const std::string &d)

Get the description of the attribute.

inline virtual std::string get_detailed_description() const

Get the detailed description of the attribute.

inline virtual void set_detailed_description(const std::string &d)

Get the detailed description of the attribute.

std::string get_value(const V *ptr) const

Get the value of the attribute.

inline void set_value(V*, const std::string&)

Set the value of the attribute.

virtual bool matches(const std::string &name) const

Return true if the name argument matches.

inline virtual void set_modifiers(const std::string &modifiers) const

Parse any modifiers that will alter the behaviour of the output stream.

inline virtual void reset_modifiers() const

Reset any output stream modifiers.