My Project
|
Internal class representing the implementation of a template. More...
Public Member Functions | |
TemplateImpl (TemplateEngine *e, const QCString &name, const QCString &data, const QCString &extension) | |
~TemplateImpl () | |
void | render (FTextStream &ts, TemplateContext *c) |
TemplateEngine * | engine () const |
TemplateBlockContext * | blockContext () |
Public Member Functions inherited from TemplateNode | |
TemplateNode (TemplateNode *parent) | |
virtual | ~TemplateNode () |
TemplateNode * | parent () |
Public Member Functions inherited from Template | |
virtual | ~Template () |
Private Attributes | |
TemplateEngine * | m_engine |
QCString | m_name |
TemplateNodeList | m_nodes |
TemplateBlockContext | m_blockContext |
Internal class representing the implementation of a template.
Definition at line 2330 of file template.cpp.
TemplateImpl::TemplateImpl | ( | TemplateEngine * | e, |
const QCString & | name, | ||
const QCString & | data, | ||
const QCString & | extension | ||
) |
Definition at line 5008 of file template.cpp.
References engine(), m_engine, m_name, m_nodes, TemplateParser::parse(), TemplateLexer::setOpenCloseCharacters(), and TemplateLexer::tokenize().
TemplateImpl::~TemplateImpl | ( | ) |
Definition at line 5026 of file template.cpp.
|
inline |
Definition at line 2339 of file template.cpp.
References m_blockContext.
|
inline |
Definition at line 2338 of file template.cpp.
References m_engine.
Referenced by TemplateNodeBlock::render(), TemplateNodeExtend::render(), TemplateNodeInclude::render(), TemplateNodeCreate::render(), and TemplateImpl().
|
virtual |
Implements TemplateNode.
Definition at line 5031 of file template.cpp.
References TemplateBlockContext::add(), TemplateContextImpl::blockContext(), m_nodes, and TemplateNodeList::render().
Referenced by TemplateNodeExtend::render(), TemplateNodeInclude::render(), and TemplateNodeCreate::render().
|
private |
Definition at line 2345 of file template.cpp.
Referenced by blockContext().
|
private |
Definition at line 2342 of file template.cpp.
Referenced by engine(), and TemplateImpl().
|
private |
Definition at line 2343 of file template.cpp.
Referenced by TemplateImpl().
|
private |
Definition at line 2344 of file template.cpp.
Referenced by render(), and TemplateImpl().