ReusableFactory< ReturnType, KeyType, TypeCreator, ErrorPolicy > Class Template Reference

Collaboration diagram for ReusableFactory< ReturnType, KeyType, TypeCreator, ErrorPolicy >:
Collaboration graph
[legend]

List of all members.

Classes

class  Int2Type
struct  PntrTraits
struct  PntrTraits< T * >

Public Types

typedef std::map< KeyType,
TypeCreator >::iterator 
iterator

Public Member Functions

const bool add (const KeyType &key, TypeCreator func)
const bool remove (const KeyType &key)
ReturnType * create (const KeyType &key) const
iterator begin ()
iterator end ()
template<class ConvertType >
ConvertType createConvert (const KeyType &key)

Detailed Description

template<class ReturnType, typename KeyType = std::string, typename TypeCreator = ReturnType* (*)(), template< class, typename > class ErrorPolicy = DefaultFactoryError>
class ReusableFactory< ReturnType, KeyType, TypeCreator, ErrorPolicy >

Definition at line 209 of file GenericFactory.H.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:24:17 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3