Class TextInterface::MapOfInterfaces
-
template<class M, class K, class Get>
class MapOfInterfaces : public TextInterface::Attribute<M> Proxy enables attribute interface of elements in a map.
In this template: M is a map of key K to element E; Get is the method of V that returns E* given K
Public Functions
-
inline MapOfInterfaces(const std::string &pre, Get g)
Construct from a pointer to parent class attribute interface.
-
inline MapOfInterfaces(const MapOfInterfaces ©)
Copy constructor.
-
inline virtual Attribute<M> *clone() const
Set the prefix to be added before attribute name.
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&)
Set the description of the attribute.
-
inline virtual void set_detailed_description(const std::string&)
Set the detailed description of the attribute.
-
virtual bool matches(const std::string &name) const
Return true if the name argument matches.
-
inline MapOfInterfaces(const std::string &pre, Get g)