
#include <Factory.h>
Public Types | |
| typedef std::set< const Type * >::const_iterator | const_iterator |
Static Public Member Functions | |
| void | registerExemplar (const Type *exemplar, std::string id="") |
| void | registerExemplar (const Type *exemplar, const std::vector< std::string > &aliases, std::string id="") |
| bool | unregisterExemplar (const std::string &id) |
| void | unregisterAllExemplars () |
| std::string | print () |
| void | registerHelpText () |
| bool | empty () |
| Factory & | instance () |
| const_iterator | begin () |
| const_iterator | end () |
| const Type * | find (const std::string &id) |
Protected Member Functions | |
| Factory () | |
| virtual | ~Factory () |
Private Member Functions | |
| Factory (const Factory &) | |
| Factory & | operator= (const Factory &) |
| void | doRegisterExemplar (const std::string &id, const Type *exemplar) |
| void | doRegisterExemplar (const std::string &id, const Type *exemplar, const std::vector< std::string > &aliases) |
| bool | doUnregisterExemplar (const std::string &id) |
Static Private Member Functions | |
| void | kill () |
Static Private Attributes | |
| Factory * | obj = NULL |
|
|||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
Call by atexit() to clean up.
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||
|
|