List of Registry::Entry. More...

#include <Registry.h>

Classes

class  Enter
 Enter a Child with default constructor into Registry::List<Parent> More...
 
class  Instances
 Counts the number of instances of Child entries. More...
 
class  Unary
 Enter Child with unary constructor into Registry::List<Parent> More...
 

Public Member Functions

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.
 
Parent * create (unsigned i) const
 Return pointer to a null-constructed instance of Parent class.
 

Static Public Member Functions

static Listget_registry ()
 provide access to the single registry instance
 

Static Public Attributes

static bool verbose = false
 verbosity flag used for debugging
 

Protected Member Functions

void add (Entry< Parent > *entry)
 Add an entry to the registry.
 

Protected Attributes

std::vector< Reference::To< Entry< Parent > > > entries
 The vector of registry entries.
 

Static Protected Attributes

static Listregistry = 0
 The single registry instance for the Parent class.
 
static Reference::To< Listauto_delete
 Clean up the registry when the program exits.
 

Friends

class Entry< Parent >
 

Detailed Description

template<class Parent>
class Registry::List< Parent >

List of Registry::Entry.


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17