Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory0_1Arg< Base, A1 >::Factory< T > Struct Template Reference

#include <Factories.h>

Inheritance diagram for Factory0_1Arg< Base, A1 >::Factory< T >:

List of all members.


Detailed Description

template<class Base, class A1>
template<class T>
struct Factory0_1Arg< Base, A1 >::Factory< T >

concrete class for constructing products of a specified subtype of Base

Definition at line 139 of file Factories.h.


Public Member Functions

virtual Base * operator() ()
 0 argument functor for constructing the product
virtual Base * operator() (const A1 &a1)
 1 argument functor for constructing the product

Member Function Documentation

template<class Base, class A1>
template<class T>
virtual Base* Factory0_1Arg< Base, A1 >::Factory< T >::operator() (  )  [inline, virtual]

0 argument functor for constructing the product

Implements Factory0Arg< Base >.

Definition at line 140 of file Factories.h.

template<class Base, class A1>
template<class T>
virtual Base* Factory0_1Arg< Base, A1 >::Factory< T >::operator() ( const A1 &  a1  )  [inline, virtual]

1 argument functor for constructing the product

Implements Factory1Arg< Base, A1 >.

Definition at line 141 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