Class TextInterface::ValueGet
-
template<class T>
class ValueGet : public TextInterface::Value Read-only interface to a value of type T.
Subclassed by TextInterface::ValueGetSet< T >
Public Functions
-
inline ValueGet(T *ptr, const std::string &_name, const std::string &_describe)
Set all attributes on construction.
-
inline virtual std::string get_name() const
Get the name of the value.
-
inline virtual std::string get_value() const
Get the value as text.
-
inline virtual void set_value(const std::string&)
Set the value as text.
-
inline virtual std::string get_description() const
Get the description of the value.
-
inline void set_description(const std::string &text)
Set the description of the value.
-
inline virtual std::string get_detailed_description() const
Get the detailed description of the value.
-
inline void set_detailed_description(const std::string &text)
Set the detailed description of the value.
-
inline ValueGet(T *ptr, const std::string &_name, const std::string &_describe)