|
| OptionalInterface (const std::string &t, Get g, Set s) |
| Construct from a pointer to element attribute interface.
|
|
std::string | get_name () const |
| Get the name of the attribute.
|
|
std::string | get_value (const C *ptr) const |
| Get the value of the attribute.
|
|
void | set_value (C *ptr, const std::string &value) |
| Set the value of the attribute.
|
|
bool | matches (const std::string &name) const |
| Return true if the name argument matches.
|
|
void | set_modifiers (const std::string &) const |
| Parse any modifiers that will alter the behaviour of the output stream.
|
|
void | reset_modifiers () const |
| Reset any output stream modifiers.
|
|
| AttributeGetSet (const std::string &_name, Get _get, Set _set) |
| Constructor.
|
|
Attribute< C > * | clone () const |
| Return a clone.
|
|
| AttributeGet (const std::string &_name, Get _get) |
| Constructor.
|
|
std::string | get_description () const |
| Get the description of the attribute.
|
|
void | set_description (const std::string &d) |
| Get the description of the attribute.
|
|
std::string | get_detailed_description () const |
| Get the detailed description of the attribute.
|
|
void | set_detailed_description (const std::string &d) |
| Get the detailed description of the attribute.
|
|
| Attribute () |
| Default constructor.
|
|
std::string | get_value () const |
| Get the value of the attribute.
|
|
void | set_value (const std::string &value) |
| Set the value of the attribute.
|
|
| Value () |
| Explicit default constructor required to delay definition of Reference::To<Parser>
|
|
| ~Value () |
| Explicit destructor required to delay definition of Reference::To<Parser>
|
|
virtual void | set_parent (Parser *p) |
|
| 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.
|
|
|
static size_t | get_instance_count () |
| Returns the current number instances in existence.
|
|
static void * | operator new (size_t size, void *ptr=0) |
| Records the addresses of new instances allocated on the heap.
|
|
static void | operator delete (void *location, void *ptr) |
| Placement delete overload to match the placement new overload.
|
|
static void | operator delete (void *location) |
| Regular delete overload.
|
|
static size_t | get_heap_queue_size () |
| Return the number of heap addresses awaiting processing.
|
|
Reference::To< C, false > | instance |
| Pointer to the instance from which attribute value will be obtained.
|
|
template<class C, class Type, class Get, class Set>
class TextInterface::OptionalInterface< C, Type, Get, Set >
Dynamically embeds the interface of something that can be got and set.
In this template: C is a composite; Get is the method of C that returns something, Set is the method of C that sets something, and get_parser is the method that optionally returns the embedded interface to something.