44 |
|
* Factory pattern is used to define an interface for creating an object. |
45 |
|
* |
46 |
|
* @param Object the base class of the hierarchy for which you provide the object factory. |
47 |
< |
* @param IdentType the object that identifies the type of the concrete object. Default type is std::string* @param Creator the callable entity that creates objects. This type must support operator(), |
47 |
> |
* @param IdentType the object that identifies the type of the concrete object. Default type is std::string * @param Creator the callable entity that creates objects. This type must support operator(), |
48 |
|
* taking no parameters and returning a pointer to Object. Default type is function pointer. |
49 |
|
* |
50 |
|
* Usage: |