Class TextInterface::VectorOfProxy
-
template<class V, class E, class Get, class Size>
class VectorOfProxy : public TextInterface::AttributeAdapter<V, E> Proxy enables attribute interface of elements in a vector.
In this template: V is a vector of E; Get is the method of V that returns E*; and Size is the method of V that returns the number of elements in it
Public Functions
-
inline VectorOfProxy(const std::string &p, const Attribute<E> *a, Get g, Size s)
Construct from a pointer to element attribute interface.
-
inline VectorOfProxy(const VectorOfProxy ©)
Copy constructor.
-
inline virtual std::string get_name() const
Get the name of the attribute.
-
virtual bool matches(const std::string &name) const
Return true if the name argument matches.
-
inline VectorOfProxy(const std::string &p, const Attribute<E> *a, Get g, Size s)