|
virtual void | set_instance (C *c) |
| Set the instance.
|
|
void | setup (const Value *value) |
| Set the instance of the Attribute<C>
|
|
void | add_value (Attribute< C > *value) |
|
template<class P > |
void | import (const To< P > *parent) |
| Import the attribute interfaces from a parent text interface.
|
|
template<class M , class G > |
void | import (const std::string &name, const To< M > *member, G get) |
| Import the attribute interfaces from a member text interface. More...
|
|
template<class E , class G , class S > |
void | import (const std::string &name, const To< E > *member, G g, S s) |
| Import the attribute interfaces from a vector element text interface. More...
|
|
template<class K , class E , class G > |
void | import (const std::string &name, K, const To< E > *member, G g) |
| Import the attribute interfaces from a map data text interface. More...
|
|
template<class P > |
void | import (const To< P > &parent) |
| Import the attribute interfaces from a parent text interface.
|
|
template<class M , class G > |
void | import (const std::string &name, const To< M > &member, G get) |
| Import the attribute interfaces from a member text interface.
|
|
template<class M , class G > |
void | import (const To< M > &member, G get) |
| Import the attribute interfaces from a member text interface.
|
|
template<class E , class G , class S > |
void | import (const std::string &name, const To< E > &element, G g, S size) |
|
template<class K , class E , class G > |
void | import (const std::string &name, K k, const To< E > &element, G g) |
|
unsigned | size () const |
| Return the number of attributes.
|
|
const Attribute< C > * | get (unsigned i) const |
| Provide access to the attributes.
|
|
| Parser () |
| Default constructor.
|
|
| ~Parser () |
| Destructor.
|
|
std::string | get_value (const std::string &name) const |
| Get the named value. More...
|
|
std::string | get_name_value (std::string &name) const |
| Get the named value and update name for display purposes. More...
|
|
void | set_value (const std::string &name, const std::string &value) |
| Set the named value. More...
|
|
Value * | find (const std::string &name, bool throw_exception=true) const |
| Find the named value. More...
|
|
bool | found (const std::string &name) const |
| Return true if the named value is found.
|
|
bool | found (const std::string &prefix, const std::string &name) const |
| Return true if prefix:name is found.
|
|
unsigned | get_nvalue () const |
| Get the number of values.
|
|
std::string | get_name (unsigned) const |
| Get the name of the value.
|
|
std::string | get_value (unsigned) const |
| Get the value. More...
|
|
std::string | get_description (unsigned) const |
| Get the description of the value.
|
|
virtual std::string | process (const std::string &command) |
| Process a command.
|
|
virtual std::string | process (const std::vector< std::string > &commands) |
| Process a vector of commands.
|
|
virtual std::string | help (bool show_default_values=false, bool show_header=false, const char *indent=0) |
| Return the list of available values.
|
|
virtual std::string | get_interface_name () const |
| Get the name of this interface.
|
|
virtual std::string | get_interface_description () const |
| Get a short description of this interface.
|
|
void | set_indentation (const std::string &indent) |
| Set the indentation that precedes the output of a call to process.
|
|
std::string | get_indentation () const |
|
void | set_delimiter (const std::string &) |
| Set the delimiter used to separate the elements of a container.
|
|
std::string | get_delimiter () const |
|
void | set_prefix_name (bool flag) |
| Prefix output with "name=".
|
|
void | set_aliases (const Alias *alias) |
| Set aliases for value names.
|
|
void | insert (Parser *) |
| Insert Parser into self. More...
|
|
void | insert (const std::string &prefix, Parser *) |
| Import a nested interface. More...
|
|
void | clean () |
| Clear all nested interfaces.
|
|
| Able () |
| Default constructor.
|
|
| Able (const Able &) |
| Copy constructor.
|
|
Able & | operator= (const Able &) |
| Assignment operator.
|
|
virtual | ~Able () |
| Destructor.
|
|
unsigned | get_reference_count () const |
| Returns the number of references there are to this.
|
|
| HeapTracked () |
| Default constructor.
|
|
| HeapTracked (const HeapTracked &) |
| Copy constructor.
|
|
HeapTracked & | operator= (const HeapTracked &) |
| Assignment operator.
|
|
virtual | ~HeapTracked () |
| Destructor.
|
|
bool | __is_on_heap () const |
| Return true if this instance is found in heap addresses.
|
|