factory.h File Reference

#include "rutz/assocarray.h"
#include "rutz/demangle.h"
#include "rutz/fileposition.h"
#include "rutz/mutex.h"
#include "rutz/shared_ptr.h"
#include "rutz/traits.h"
#include <typeinfo>

Include dependency graph for factory.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  rutz

Classes

class  rutz::creator_base< T >
 Abstract interface for creating objects of a particular type. More...
class  rutz::creator_from_func< base_t, derived_t >
 Implements rutz::creator_base by calling a function pointer. More...
class  rutz::factory_fallback
 Abstract class for a fallback strategy when factory lookup fails. More...
class  rutz::factory_base
 Non-template helper class for rutz::factory. More...
class  rutz::factory< T >
 Create objects base on 'key' strings. More...


Detailed Description

template class for object factories, which create objects belonging to some inheritance hierarchy given just a type name as a string

Definition in file factory.h.


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