Public Member Functions | List of all members
TemplateNodeFactory::AutoRegister< T > Class Template Reference

Helper class for registering a template AST node. More...

Public Member Functions

 AutoRegister (const QCString &key)
 

Detailed Description

template<class T>
class TemplateNodeFactory::AutoRegister< T >

Helper class for registering a template AST node.

Definition at line 4301 of file template.cpp.

Constructor & Destructor Documentation

template<class T>
TemplateNodeFactory::AutoRegister< T >::AutoRegister ( const QCString key)
inline

Definition at line 4304 of file template.cpp.

4305  {
4306  TemplateNodeFactory::instance()->registerTemplateNode(key,T::createInstance);
4307  }
void registerTemplateNode(const QCString &name, CreateFunc func)
Definition: template.cpp:4295
static TemplateNodeFactory * instance()
Definition: template.cpp:4278

The documentation for this class was generated from the following file: