Include dependency graph for factory.hh:
Go to the source code of this file.
Namespaces | |
namespace | vcsn |
Classes | |
class | DefaultFactoryError |
class | DefaultFactoryError::Exception |
class | Factory |
Defines | |
#define | factory_reg(factory, typeId, creationFunction) factory.reg(typeId, creationFunction) |
#define | factory_create(factory, typeId) factory.create_object(typeId) |
This code comes from the proposed implementation by Alexandrescu, in his "Modern C++ Design" book.
Definition in file factory.hh.