Feel++  0.91.4
Feel::FactoryClone< AbstractProduct, ProductCreator, FactoryErrorPolicy > Class Template Reference

Implements a generic cloning object Factory. More...

#include <factory.hpp>

List of all members.

Public Types

Typedefs
typedef FactoryErrorPolicy
< TypeInfo, AbstractProduct > 
super

Public Member Functions

Methods
bool registerProduct (const TypeInfo &id, ProductCreator creator)
bool unregisterProduct (const TypeInfo &id)
AbstractProduct * createObject (const AbstractProduct *model)

Detailed Description

template<class AbstractProduct, class ProductCreator = boost::function<AbstractProduct* (const AbstractProduct*)>, template< typename, class > class FactoryErrorPolicy = FactoryDefaultError>
class Feel::FactoryClone< AbstractProduct, ProductCreator, FactoryErrorPolicy >

Implements a generic cloning object Factory.

See also:
Factory, FactoryDefaultError
Author:
Christophe Prud'homme