rutz::creator_base< T > Class Template Reference

Abstract interface for creating objects of a particular type. More...

#include <rutz/factory.h>

Inheritance diagram for rutz::creator_base< T >:

Inheritance graph
[legend]

List of all members.

Public Types

typedef T base_t

Public Member Functions

virtual ~creator_base ()
 Virtual destructor.
virtual creator_baseclone () const =0
 Return a clone of this Creator.
virtual base_t create ()=0
 Return a new pointer (or smart pointer) to type Base.


Detailed Description

template<class T>
class rutz::creator_base< T >

Abstract interface for creating objects of a particular type.

rutz::creator_base is a template class that defines a single abstract function, create(), that returns an object of type creator_base::base_t.

Definition at line 57 of file factory.h.


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

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.