Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory0Arg2Static< Base, S1, s1, S2, s2 > Struct Template Reference

#include <Factories.h>

Inheritance diagram for Factory0Arg2Static< Base, S1, s1, S2, s2 >:

List of all members.


Detailed Description

template<class Base, class S1, S1 s1, class S2, S2 s2>
struct Factory0Arg2Static< Base, S1, s1, S2, s2 >

This class produces objects based on constant values specified as a template parameters.

You could also implement this by adding member fields to the factory and passing that to the target constuctor instead of the non-type template parameter (which has some restrictions). See Factory0Arg1Member for an example how this is done.

Definition at line 76 of file Factories.h.


Classes

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

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

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