|
CLAW Library (a C++ Library Absolutely Wonderful) 1.5.5
|
The design pattern of the factory. More...
#include <claw/basic_singleton.hpp>#include <claw/exception.hpp>#include <map>#include <claw/impl/factory.tpp>Go to the source code of this file.
Classes | |
| class | claw::pattern::bad_type_identifier |
| Exception thrown when an incorrect identifier is given to a type. More... | |
| class | claw::pattern::factory< BaseClass, IdentifierType > |
| The design pattern of the factory allow to dynamically instanciate classes of various types given an identifier of this type. More... | |
| class | claw::pattern::factory< BaseClass, IdentifierType >::class_creator_base |
| A class creator is an object that allocate a given type. This is the base class for all class creators. More... | |
| class | claw::pattern::factory< BaseClass, IdentifierType >::class_creator< Derived > |
| A class creator is an object that allocate a given type. More... | |
Namespaces | |
| namespace | claw |
This is the main namespace. | |
| namespace | claw::pattern |
Here are the design patterns. | |
The design pattern of the factory.
Definition in file factory.hpp.
1.7.3