Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory1Arg< B, A1, a1 > Class Template Reference

#include <Factory.h>

Inheritance diagram for Factory1Arg< B, A1, a1 >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class B, class A1, A1 a1>
class Factory1Arg< B, A1, a1 >

Uses template to specify a constant parameter to the constructor.

Definition at line 27 of file Factory.h.

Public Member Functions

virtual B * construct ()
 Just returns a new B constructed with arguments a1.
virtual void * constructTemplate ()
 return a new object from the Factory subclass


Member Function Documentation

template<class B, class A1, A1 a1>
virtual B* Factory1Arg< B, A1, a1 >::construct (  )  [inline, virtual]

Just returns a new B constructed with arguments a1.

Reimplemented from Factory< B >.

Definition at line 29 of file Factory.h.

Referenced by Factory1Arg< B, A1, a1 >::constructTemplate().

template<class B, class A1, A1 a1>
virtual void* Factory1Arg< B, A1, a1 >::constructTemplate (  )  [inline, virtual]

return a new object from the Factory subclass

Reimplemented from Factory< B >.

Definition at line 30 of file Factory.h.


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

Tekkotsu v3.0
Generated Wed Oct 4 00:05:01 2006 by Doxygen 1.4.7