| Bridge++
    Version 1.5.4
    | 
#include <string>#include <map>Go to the source code of this file.
| Classes | |
| class | FactoryTemplate< AbstractProduct, ProductCreator > | 
| Typedefs | |
| typedef std::string | IdentifierType | 
| Factory template class.  More... | |
Definition in file factory.h.
| typedef std::string IdentifierType | 
Factory template class.
FactoryTemplate class provides framework of factories for classes which relate identifiers of subclasses (class name string) and instance-creation callbacks (functions).
This template takes two template parameters: AbstractProduct represents typename of abstract base class of the product class family, and ProductCreator specifies the type of function (including types of arguments).