InFact
Interpreter and factory for easily creating C++ objects at run-time
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Static Public Member Functions | List of all members
infact::FactoryContainer Class Reference

A class to hold all Factory instances that have been created. More...

#include <factory.h>

Public Types

typedef vector< FactoryBase * >
::iterator 
iterator
 

Static Public Member Functions

static void Add (FactoryBase *factory)
 Adds the specified factory to this container of factories. More...
 
static void Clear ()
 Clears this container of factories. More...
 
static iterator begin ()
 
static iterator end ()
 
static void Print (ostream &os)
 Prints the base typenames for all factories along with a list of all concrete subtypes those factories can construct, in a human-readable form, to the specified output stream. More...
 

Detailed Description

A class to hold all Factory instances that have been created.

Definition at line 453 of file factory.h.

Member Typedef Documentation

Definition at line 455 of file factory.h.

Member Function Documentation

static void infact::FactoryContainer::Add ( FactoryBase factory)
inlinestatic

Adds the specified factory to this container of factories.

Parameters
factorythe factory to add to this container

Definition at line 460 of file factory.h.

static iterator infact::FactoryContainer::begin ( )
inlinestatic

Definition at line 482 of file factory.h.

static void infact::FactoryContainer::Clear ( )
inlinestatic

Clears this container of factories.

Definition at line 468 of file factory.h.

static iterator infact::FactoryContainer::end ( )
inlinestatic

Definition at line 489 of file factory.h.

static void infact::FactoryContainer::Print ( ostream &  os)
inlinestatic

Prints the base typenames for all factories along with a list of all concrete subtypes those factories can construct, in a human-readable form, to the specified output stream.

Definition at line 500 of file factory.h.


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