|
| ValueGetSet (T *ptr, const std::string &name, const std::string &desc) |
| Set all attributes on construction.
|
|
void | set_value (const std::string &text) |
| Set the value as text.
|
|
| ValueGet (T *ptr, const std::string &_name, const std::string &_describe) |
| Set all attributes on construction.
|
|
std::string | get_name () const |
| Get the name of the value.
|
|
std::string | get_value () const |
| Get the value as text.
|
|
std::string | get_description () const |
| Get the description of the value.
|
|
void | set_description (const std::string &text) |
| Set the description of the value.
|
|
std::string | get_detailed_description () const |
| Get the detailed description of the value.
|
|
void | set_detailed_description (const std::string &text) |
| Set the detailed description of the value.
|
|
| Value () |
| Explicit default constructor required to delay definition of Reference::To<Parser>
|
|
| ~Value () |
| Explicit destructor required to delay definition of Reference::To<Parser>
|
|
virtual bool | matches (const std::string &name) const |
| Return true if the name argument matches the value name.
|
|
virtual void | set_modifiers (const std::string &) const =0 |
| Parse any modifiers that will alter the behaviour of the output stream.
|
|
virtual void | reset_modifiers () const =0 |
| Reset any output stream modifiers.
|
|
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.
|
|
Handle * | __reference (bool active) const |
| Add the address of a reference to this object. More...
|
|
void | __dereference (bool auto_delete=true) const |
| Remove the address of a reference to this object. More...
|
|
std::string | name |
|
std::string | description |
|
std::string | detailed_description |
|
T * | value_ptr |
|
Reference::To< Parser, false > | parent |
| The Parser composite in which this Value component is integrated.
|
|
template<class T>
class TextInterface::ValueGetSet< T >
Read and write interface to a value of type T.