Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

GeneralMakerTP< Data, str_ > Class Template Reference

#include <generalmaker.h>

Inheritance diagram for GeneralMakerTP< Data, str_ >:

Inheritance graph
[legend]
Collaboration diagram for GeneralMakerTP< Data, str_ >:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

 GeneralMakerTP ()
GeneralDatamakeData ()

Static Protected Attributes

static const GeneralMakerTP<
Data, str_ > 
registerThis

Detailed Description

template<class Data, const char * str_>
class GeneralMakerTP< Data, str_ >

Definition at line 50 of file generalmaker.h.


Constructor & Destructor Documentation

template<class Data, const char * str_>
GeneralMakerTP< Data, str_ >::GeneralMakerTP  )  [inline, protected]
 

Definition at line 53 of file generalmaker.h.

References GeneralMaker::registry().

00053                      : GeneralMaker(  )
00054     {
00055         Data d;
00056         std::string str = d.uniqueName();
00057         GeneralMaker::registry().insert( make_pair( str, this ) );
00058 //         std::cerr<<"Hello?????"<<std::endl;
00059     }


Member Function Documentation

template<class Data, const char * str_>
GeneralData* GeneralMakerTP< Data, str_ >::makeData  )  [inline, protected, virtual]
 

Implements GeneralMaker.

Definition at line 60 of file generalmaker.h.

00061     {
00062         return new Data();
00063     }


Member Data Documentation

template<class Data, const char * str_>
const GeneralMakerTP< Data, str_ > GeneralMakerTP< Data, str_ >::registerThis [static, protected]
 

Definition at line 64 of file generalmaker.h.


The documentation for this class was generated from the following files:
Generated on Fri Mar 17 17:44:59 2006 for trapper by  doxygen 1.4.4