Protium
Math and Design Features
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Protium::Design::VirtualFactory< Group > Struct Template Reference

#include <Constructable.h>

Inheritance diagram for Protium::Design::VirtualFactory< Group >:

Public Types

typedef std::map< std::string,
ConstructablePrototype *(*)() > 
map_type
 

Static Public Member Functions

static ConstructablePrototypecreateInstance (const std::string &s, ConstructablePrototype *(*creator)()=0)
 

Static Protected Member Functions

static map_typegetMap ()
 

Detailed Description

template<class Group>
struct Protium::Design::VirtualFactory< Group >

Definition at line 16 of file Constructable.h.

Member Typedef Documentation

template<class Group >
typedef std::map< std::string, ConstructablePrototype*(*)() > Protium::Design::VirtualFactory< Group >::map_type

Definition at line 17 of file Constructable.h.

Member Function Documentation

template<class Group >
static ConstructablePrototype* Protium::Design::VirtualFactory< Group >::createInstance ( const std::string &  s,
ConstructablePrototype *(*)()  creator = 0 
)
inlinestatic

Definition at line 20 of file Constructable.h.

template<class Group >
static map_type* Protium::Design::VirtualFactory< Group >::getMap ( )
inlinestaticprotected

Definition at line 28 of file Constructable.h.