My Project
|
Class holding stacks of blocks available in the context. More...
Public Member Functions | |
TemplateBlockContext () | |
TemplateNodeBlock * | get (const QCString &name) const |
TemplateNodeBlock * | pop (const QCString &name) const |
void | add (TemplateNodeBlock *block) |
void | add (TemplateBlockContext *ctx) |
void | push (TemplateNodeBlock *block) |
void | clear () |
Private Attributes | |
QDict< QList< TemplateNodeBlock > > | m_blocks |
Class holding stacks of blocks available in the context.
Definition at line 487 of file template.cpp.
TemplateBlockContext::TemplateBlockContext | ( | ) |
Definition at line 4559 of file template.cpp.
References m_blocks.
void TemplateBlockContext::add | ( | TemplateNodeBlock * | block | ) |
Definition at line 4590 of file template.cpp.
References m_blocks, and TemplateNodeBlock::name().
Referenced by add(), TemplateImpl::render(), and TemplateNodeExtend::render().
void TemplateBlockContext::add | ( | TemplateBlockContext * | ctx | ) |
Definition at line 4601 of file template.cpp.
References add(), and m_blocks.
void TemplateBlockContext::clear | ( | ) |
Definition at line 4616 of file template.cpp.
References m_blocks.
Referenced by TemplateNodeExtend::render().
TemplateNodeBlock * TemplateBlockContext::get | ( | const QCString & | name | ) | const |
Definition at line 4564 of file template.cpp.
References m_blocks.
Referenced by TemplateNodeBlock::render().
TemplateNodeBlock * TemplateBlockContext::pop | ( | const QCString & | name | ) | const |
Definition at line 4577 of file template.cpp.
References m_blocks.
Referenced by TemplateNodeBlock::render().
void TemplateBlockContext::push | ( | TemplateNodeBlock * | block | ) |
Definition at line 4621 of file template.cpp.
References m_blocks, and TemplateNodeBlock::name().
Referenced by TemplateNodeBlock::render().
|
private |
Definition at line 498 of file template.cpp.
Referenced by add(), clear(), get(), pop(), push(), and TemplateBlockContext().