Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory1Static_1Arg< Base, S1, s1, A1 >::Factory< T > Struct Template Reference

#include <Factories.h>

Inheritance diagram for Factory1Static_1Arg< Base, S1, s1, A1 >::Factory< T >:

List of all members.


Detailed Description

template<class Base, class S1, S1 s1, class A1>
template<class T>
struct Factory1Static_1Arg< Base, S1, s1, A1 >::Factory< T >

concrete class for constructing products of a specified subtype of Base

Definition at line 149 of file Factories.h.


Public Member Functions

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

Member Function Documentation

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

0 argument functor for constructing the product using the static value

Implements Factory0Arg< Base >.

Definition at line 150 of file Factories.h.

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

1 argument functor for constructing the product

Implements Factory1Arg< Base, A1 >.

Definition at line 151 of file Factories.h.


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

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