Loki::CloneFactory< AbstractProduct, ProductCreator, FactoryErrorPolicy > Class Template Reference
[Clone Factory]

Creates a copy from a polymorphic object. More...

#include <Factory.h>

Collaboration diagram for Loki::CloneFactory< AbstractProduct, ProductCreator, FactoryErrorPolicy >:

[legend]
List of all members.

Public Member Functions

bool Register (const TypeInfo &ti, ProductCreator creator)
bool Unregister (const TypeInfo &id)
AbstractProduct * CreateObject (const AbstractProduct *model)

Detailed Description

template<class AbstractProduct, class ProductCreator = AbstractProduct* (*)(const AbstractProduct*), template< typename, class > class FactoryErrorPolicy = DefaultFactoryError>
class Loki::CloneFactory< AbstractProduct, ProductCreator, FactoryErrorPolicy >

Creates a copy from a polymorphic object.

Definition at line 1039 of file Factory.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 25 16:52:37 2007 for Loki by  doxygen 1.5.1-p1