A class creator is an object that allocate a given type. More...
Public Member Functions | |
virtual Derived * | create () const |
Create an instance of the derived type.. |
A class creator is an object that allocate a given type.
Template parameters:
Type requirements:
Definition at line 96 of file factory.hpp.
Derived * claw::pattern::factory< BaseClass, IdentifierType >::class_creator< Derived >::create | ( | ) | const [virtual] |
Create an instance of the derived type..
Implements claw::pattern::factory< BaseClass, IdentifierType >::class_creator_base.
Definition at line 52 of file factory.tpp.
{ return new Derived; } // factory::class_creator::create()