#include <factory.h>
Static Public Member Functions |
|
static T * | create () |
Return a pointer to a new instance
of T. |
|
static void * | createVoid () |
Return a void pointer to a new
instance of T. |
|
static const T & | getDefault () |
Return a reference to a
(pre-instantiated) default object. |
The factory class is used to create objects of the type it was parameterized with.