Factory singleton for registering and creating filters. More...
Classes | |
class | AutoRegister |
Helper class for registering a filter function. More... | |
Public Types | |
typedef TemplateVariant( | FilterFunction) (const TemplateVariant &v, const TemplateVariant &arg) |
Public Member Functions | |
TemplateVariant | apply (const QCString &name, const TemplateVariant &v, const TemplateVariant &arg, bool &ok) |
void | registerFilter (const QCString &name, FilterFunction *func) |
Static Public Member Functions | |
static TemplateFilterFactory * | instance () |
Private Attributes | |
QDict< void > | m_registry |
Factory singleton for registering and creating filters.
Definition at line 1292 of file template.cpp.
typedef TemplateVariant( TemplateFilterFactory::FilterFunction) (const TemplateVariant &v, const TemplateVariant &arg) |
Definition at line 1295 of file template.cpp.
|
inline |
Definition at line 1304 of file template.cpp.
|
inlinestatic |
Definition at line 1297 of file template.cpp.
|
inline |
Definition at line 1319 of file template.cpp.
|
private |
Definition at line 1335 of file template.cpp.