Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory1Arg1Static< Base, A1, S1, s1 > Struct Template Reference

#include <Factories.h>

Inheritance diagram for Factory1Arg1Static< Base, A1, S1, s1 >:

List of all members.


Detailed Description

template<class Base, class A1, class S1, S1 s1>
struct Factory1Arg1Static< Base, A1, S1, s1 >

This class produces objects based on a functor argument and a constant specified as a template parameter.

You could also implement this by adding a member field 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 111 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:23 2007 by Doxygen 1.5.4