Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory0Arg1Member< Base, M1 >::Factory< T > Struct Template Reference

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

#include <Factories.h>

Inheritance diagram for Factory0Arg1Member< Base, M1 >::Factory< T >:

Detailed Description

template<class Base, class M1>
template<class T>
struct Factory0Arg1Member< Base, M1 >::Factory< T >

concrete class for constructing products of a specified subtype of Base

Definition at line 63 of file Factories.h.

List of all members.

Public Member Functions

 Factory ()
 use default constructor for m1
 Factory (const M1 &im1)
 use specified value to initalize m1
virtual Base * operator() ()
 functor for constructing the product

Public Attributes

M1 m1
 storage for the product's constructor value

Constructor & Destructor Documentation

template<class Base , class M1 >
template<class T >
Factory0Arg1Member< Base, M1 >::Factory< T >::Factory (  ) 

use default constructor for m1

Definition at line 64 of file Factories.h.

template<class Base , class M1 >
template<class T >
Factory0Arg1Member< Base, M1 >::Factory< T >::Factory ( const M1 &  im1  )  [explicit]

use specified value to initalize m1

Definition at line 65 of file Factories.h.


Member Function Documentation

template<class Base , class M1 >
template<class T >
virtual Base* Factory0Arg1Member< Base, M1 >::Factory< T >::operator() (  )  [virtual]

functor for constructing the product

Implements Factory0Arg< Base >.

Definition at line 67 of file Factories.h.


Member Data Documentation

template<class Base , class M1 >
template<class T >
M1 Factory0Arg1Member< Base, M1 >::Factory< T >::m1

storage for the product's constructor value

Definition at line 66 of file Factories.h.

Referenced by Factory0Arg1Member< Base, M1 >::Factory< T >::operator()().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:07 2016 by Doxygen 1.6.3