My Project
|
Factory class for creating tag AST nodes found in a template. More...
Classes | |
class | AutoRegister |
Helper class for registering a template AST node. More... | |
Public Types | |
typedef TemplateNode *(* | CreateFunc )(TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
Public Member Functions | |
TemplateNode * | create (const QCString &name, TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
void | registerTemplateNode (const QCString &name, CreateFunc func) |
Static Public Member Functions | |
static TemplateNodeFactory * | instance () |
Private Attributes | |
QDict< void > | m_registry |
Factory class for creating tag AST nodes found in a template.
Definition at line 4490 of file template.cpp.
typedef TemplateNode*(* TemplateNodeFactory::CreateFunc)(TemplateParser *parser, TemplateNode *parent, int line, const QCString &data) |
Definition at line 4493 of file template.cpp.
|
inline |
|
inlinestatic |
Definition at line 4498 of file template.cpp.
Referenced by TemplateNodeFactory::AutoRegister< T >::AutoRegister(), and TemplateParser::parse().
|
inline |
Definition at line 4515 of file template.cpp.
References m_registry.
Referenced by TemplateNodeFactory::AutoRegister< T >::AutoRegister().
|
private |
Definition at line 4531 of file template.cpp.
Referenced by create(), and registerTemplateNode().