List of Registry::Entry.
More...
#include <Registry.h>
|
unsigned | size () const |
| Return the size of the list.
|
Parent * | operator[] (unsigned i) const |
| Return the specified entry.
|
void | erase (unsigned i) |
| Remove the specified entry.
|
auto | begin () const -> typename std::vector< Reference::To< Entry< Parent > > >::const_iterator |
| Return the iterator that points to the first child.
|
auto | end () const -> typename std::vector< Reference::To< Entry< Parent > > >::const_iterator |
| Return the iterator that points to the end of the array after the last child.
|
Parent * | create (unsigned i) const |
| Return pointer to a null-constructed instance of Parent class.
|
| 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 List & | get_registry () |
| provide access to the single registry instance
|
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.
|
|
static bool | verbose = false |
| verbosity flag used for debugging
|
|
void | add (Entry< Parent > *entry) |
| Add an entry to the registry.
|
Handle * | __reference (bool active) const |
| Add the address of a reference to this object.
|
void | __dereference (bool auto_delete=true) const |
| Remove the address of a reference to this object.
|
|
static List * | registry = 0 |
| The single registry instance for the Parent class.
|
static Reference::To< List > | auto_delete |
| Clean up the registry when the program exits.
|
template<class Parent>
class Registry::List< Parent >
List of Registry::Entry.
The documentation for this class was generated from the following file: