Internal class representing the implementation of a template context. More...
Private Attributes | |
| const TemplateEngine * | m_engine |
| QCString | m_templateName |
| int | m_line |
| QCString | m_outputDir |
| QList< QDict< TemplateVariant > > | m_contextStack |
| TemplateBlockContext | m_blockContext |
| QDict< TemplateEscapeIntf * > | m_escapeIntfDict |
| TemplateEscapeIntf * | m_activeEscapeIntf |
| TemplateSpacelessIntf * | m_spacelessIntf |
| bool | m_spacelessEnabled |
| bool | m_tabbingEnabled |
| TemplateAutoRef< TemplateStruct > | m_indices |
| QDict< QStack< TemplateVariant > > | m_indexStacks |
Internal class representing the implementation of a template context.
Definition at line 511 of file template.cpp.
| TemplateContextImpl::TemplateContextImpl | ( | const TemplateEngine * | e | ) |
Definition at line 2299 of file template.cpp.
|
virtual |
Definition at line 2310 of file template.cpp.
| void TemplateContextImpl::addIndexEntry | ( | const QCString & | indexName, |
| const QValueList< TemplateKeyValue > & | arguments | ||
| ) |
Definition at line 2507 of file template.cpp.
| TemplateBlockContext * TemplateContextImpl::blockContext | ( | ) |
Definition at line 2426 of file template.cpp.
| void TemplateContextImpl::closeSubIndex | ( | const QCString & | indexName | ) |
Definition at line 2461 of file template.cpp.
|
inline |
Definition at line 547 of file template.cpp.
|
inline |
Definition at line 551 of file template.cpp.
|
inline |
Definition at line 545 of file template.cpp.
|
virtual |
Gets the value for a given key
| [in] | name | The name of key. |
Implements TemplateContext.
Definition at line 2325 of file template.cpp.
| TemplateVariant TemplateContextImpl::getPrimary | ( | const QCString & | name | ) | const |
Definition at line 2405 of file template.cpp.
|
virtual |
Returns a pointer to the value corresponding to a given key.
| [in] | name | The name of key. |
Implements TemplateContext.
Definition at line 2393 of file template.cpp.
|
inline |
Definition at line 543 of file template.cpp.
| void TemplateContextImpl::openSubIndex | ( | const QCString & | indexName | ) |
Definition at line 2440 of file template.cpp.
|
inline |
Definition at line 544 of file template.cpp.
|
virtual |
Pop the current scope from the stack.
Implements TemplateContext.
Definition at line 2418 of file template.cpp.
|
virtual |
Push a new scope on the stack.
Implements TemplateContext.
Definition at line 2411 of file template.cpp.
|
inline |
Definition at line 530 of file template.cpp.
|
virtual |
Sets a value in the current scope.
| [in] | name | The name of the value; the key in the dictionary. |
| [in] | v | The value associated with the key. |
Implements TemplateContext.
Definition at line 2315 of file template.cpp.
|
inline |
Definition at line 534 of file template.cpp.
|
inlinevirtual |
Sets the interface that will be used for escaping the result of variable expansion before writing it to the output.
Implements TemplateContext.
Definition at line 525 of file template.cpp.
|
inline |
Definition at line 540 of file template.cpp.
|
inlinevirtual |
When files are created (i.e. by {% create ... %}) they written to the directory dir.
Implements TemplateContext.
Definition at line 523 of file template.cpp.
|
inlinevirtual |
Sets the interface that will be used inside a spaceless block to remove any redundant whitespace.
Implements TemplateContext.
Definition at line 535 of file template.cpp.
|
inline |
Definition at line 550 of file template.cpp.
|
inline |
Definition at line 546 of file template.cpp.
|
inline |
Definition at line 554 of file template.cpp.
|
inline |
Definition at line 542 of file template.cpp.
| void TemplateContextImpl::warn | ( | const char * | fileName, |
| int | line, | ||
| const char * | fmt, | ||
| ... | |||
| ) | const |
Definition at line 2431 of file template.cpp.
|
private |
Definition at line 570 of file template.cpp.
|
private |
Definition at line 568 of file template.cpp.
|
private |
Definition at line 567 of file template.cpp.
|
private |
Definition at line 563 of file template.cpp.
|
private |
Definition at line 569 of file template.cpp.
|
private |
Definition at line 575 of file template.cpp.
|
private |
Definition at line 574 of file template.cpp.
|
private |
Definition at line 565 of file template.cpp.
|
private |
Definition at line 566 of file template.cpp.
|
private |
Definition at line 572 of file template.cpp.
|
private |
Definition at line 571 of file template.cpp.
|
private |
Definition at line 573 of file template.cpp.
|
private |
Definition at line 564 of file template.cpp.
1.8.11