rutz::factory_base Class Reference

Non-template helper class for rutz::factory. More...

#include <rutz/factory.h>

List of all members.

Public Member Functions

typedef void() fallback_t (const rutz::fstring &)
 factory_base () throw ()
 Default constructor sets the fallback to null.
virtual ~factory_base () throw ()
 Virtual no-throw destructor for proper inheritance.
void set_fallback (rutz::shared_ptr< factory_fallback > f)
 Change the fallback object.
void set_fallback (fallback_t *fptr)
 Change the fallback function.
void try_fallback (const rutz::fstring &key) const
 Try running the fallback function for the given key.


Detailed Description

Non-template helper class for rutz::factory.

Definition at line 115 of file factory.h.


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:33 2008 by Doxygen version 1.5.5.