Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory0Arg< Base > Struct Template Reference

#include <Factories.h>

Inheritance diagram for Factory0Arg< Base >:

List of all members.


Detailed Description

template<class Base>
struct Factory0Arg< Base >

Typed base class for factories which don't require any arguments to construct their product, see Factories.h file notes.

Note that this does not mean the product has to be constructed without arguments... see Factory0Arg1Static for example.

Definition at line 39 of file Factories.h.


Public Member Functions

virtual Base * operator() ()=0
 functor interface for constructing the product
virtual void * construct ()
 functor interface for constructing the product

Classes

struct  Factory
 concrete class for constructing products of a specified subtype of Base More...

Member Function Documentation

template<class Base>
virtual void* Factory0Arg< Base >::construct (  )  [inline, virtual]

functor interface for constructing the product

Implements Factory0ArgBase.

Definition at line 42 of file Factories.h.


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:21 2007 by Doxygen 1.5.4