List of all members | Static Public Member Functions
utl::FactoryErrorIgnore< IdentifierType, ObjectPtrType > Class Template Reference

Default error policy for ObjectFactory: return 0. More...

#include "utl/ObjectFactory.h"

Static Public Member Functions

static ObjectPtrType Unregistered (const IdentifierType &)
 
template<typename ArgumentType >
static ObjectPtrType Unregistered (const IdentifierType &, const ArgumentType &)
 
template<typename Argument1Type , typename Argument2Type >
static ObjectPtrType Unregistered (const IdentifierType &, const Argument1Type &, const Argument2Type &)
 

Detailed Description

template<typename IdentifierType, class ObjectPtrType>
class utl::FactoryErrorIgnore< IdentifierType, ObjectPtrType >

Default error policy for ObjectFactory: return 0.

The policy is defined by the implementation of the static function Unregistered.

In alternative inmplementations, this functions could throw an exception or try to load a library dynamically.

Author
Lukas Nellen
Date
10 Mar 2004

Definition at line 26 of file ObjectFactory.h.

Member Function Documentation

template<typename IdentifierType , class ObjectPtrType >
static ObjectPtrType utl::FactoryErrorIgnore< IdentifierType, ObjectPtrType >::Unregistered ( const IdentifierType &  )
inlinestatic

Definition at line 29 of file ObjectFactory.h.

template<typename IdentifierType , class ObjectPtrType >
template<typename ArgumentType >
static ObjectPtrType utl::FactoryErrorIgnore< IdentifierType, ObjectPtrType >::Unregistered ( const IdentifierType &  ,
const ArgumentType &   
)
inlinestatic

Definition at line 33 of file ObjectFactory.h.

template<typename IdentifierType , class ObjectPtrType >
template<typename Argument1Type , typename Argument2Type >
static ObjectPtrType utl::FactoryErrorIgnore< IdentifierType, ObjectPtrType >::Unregistered ( const IdentifierType &  ,
const Argument1Type &  ,
const Argument2Type &   
)
inlinestatic

Definition at line 38 of file ObjectFactory.h.


The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.