Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Factory0Arg1Static< Base, S1, s1 > Struct Template Reference

This class produces objects based on a constant specified as a template parameter. More...

#include <Factories.h>

Inheritance diagram for Factory0Arg1Static< Base, S1, s1 >:

Detailed Description

template<class Base, class S1, S1 s1>
struct Factory0Arg1Static< Base, S1, s1 >

This class produces objects based on 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

Definition at line 52 of file Factories.h.

List of all members.

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 v5.1CVS
Generated Mon May 9 04:59:07 2016 by Doxygen 1.6.3