#include "template.h"#include <stdio.h>#include <stdarg.h>#include <qlist.h>#include <qarray.h>#include <qdict.h>#include <qstrlist.h>#include <qvaluelist.h>#include <qstack.h>#include <qfile.h>#include <qregexp.h>#include <qcstring.h>#include <qdir.h>#include "sortdict.h"#include "ftextstream.h"#include "message.h"#include "util.h"#include "resourcemgr.h"Go to the source code of this file.
Classes | |
| class | TemplateStruct::Private |
| Private data of a template struct object. More... | |
| class | TemplateList::Private |
| Private data of a template list object. More... | |
| class | TemplateListConstIterator |
| class | Operator |
| Class representing operators that can appear in template expressions. More... | |
| class | TemplateBlockContext |
| Class holding stacks of blocks available in the context. More... | |
| struct | TemplateKeyValue |
| A container to store a key-value pair. More... | |
| class | TemplateContextImpl |
| Internal class representing the implementation of a template context. More... | |
| class | FilterAdd |
| The implementation of the "add" filter. More... | |
| class | FilterGet |
| The implementation of the "get" filter. More... | |
| class | FilterRaw |
| The implementation of the "raw" filter. More... | |
| class | FilterList |
| The implementation of the "list" filter. More... | |
| class | FilterTexLabel |
| The implementation of the "texlabel" filter. More... | |
| class | FilterTexIndex |
| The implementation of the "texindex" filter. More... | |
| class | FilterAppend |
| The implementation of the "append" filter. More... | |
| class | FilterPrepend |
| The implementation of the "prepend" filter. More... | |
| class | FilterLength |
| The implementation of the "length" filter. More... | |
| class | FilterDefault |
| The implementation of the "default" filter. More... | |
| class | FilterFlatten |
| The implementation of the "flatten" filter. More... | |
| class | FilterListSort |
| The implementation of the "listsort" filter. More... | |
| struct | FilterListSort::ListElem |
| class | FilterListSort::SortList |
| class | FilterGroupBy |
| The implementation of the "groupBy" filter. More... | |
| struct | FilterGroupBy::ListElem |
| class | FilterGroupBy::SortList |
| class | FilterRelative |
| The implementation of the "relative" filter. More... | |
| class | FilterPaginate |
| The implementation of the "paginate" filter. More... | |
| class | FilterAlphaIndex |
| The implementation of the "alphaIndex" filter. More... | |
| struct | FilterAlphaIndex::ListElem |
| class | FilterAlphaIndex::SortList |
| class | FilterStripPath |
| The implementation of the "default" filter. More... | |
| class | FilterNoWrap |
| The implementation of the "default" filter. More... | |
| class | FilterDivisibleBy |
| The implementation of the "divisibleby" filter. More... | |
| class | TemplateFilterFactory |
| Factory singleton for registering and creating filters. More... | |
| class | TemplateFilterFactory::AutoRegister< T > |
| Helper class for registering a filter function. More... | |
| class | ExprAst |
| Base class for all nodes in the abstract syntax tree of an expression. More... | |
| class | ExprAstNumber |
| Class representing a number in the AST. More... | |
| class | ExprAstVariable |
| Class representing a variable in the AST. More... | |
| class | ExprAstFunctionVariable |
| class | ExprAstFilter |
| Class representing a filter in the AST. More... | |
| class | ExprAstFilterAppl |
| Class representing a filter applied to an expression in the AST. More... | |
| class | ExprAstLiteral |
| Class representing a string literal in the AST. More... | |
| class | ExprAstNegate |
| Class representing a negation (not) operator in the AST. More... | |
| class | ExprAstUnary |
| class | ExprAstBinary |
| Class representing a binary operator in the AST. More... | |
| class | TemplateNode |
| Base class of all nodes in a template's AST. More... | |
| class | TemplateParser |
| Parser for templates. More... | |
| class | ExpressionParser |
| Recursive decent parser for Django style template expressions. More... | |
| class | ExpressionParser::ExprToken |
| Class representing a token within an expression. More... | |
| class | TemplateToken |
| Class representing a lexical token in a template. More... | |
| class | TemplateNodeList |
| Class representing a list of AST nodes in a template. More... | |
| class | TemplateImpl |
| Internal class representing the implementation of a template. More... | |
| class | TemplateStructWeakRef |
| Weak reference wrapper for TemplateStructIntf that provides access to the wrapped struct without holding a reference. More... | |
| class | TemplateNodeText |
| Class representing a piece of plain text in a template. More... | |
| class | TemplateNodeVariable |
| Class representing a variable in a template. More... | |
| class | TemplateNodeCreator< T > |
| Helper class for creating template AST tag nodes and returning the template for a given node. More... | |
| class | TemplateNodeIf |
| Class representing an 'if' tag in a template. More... | |
| struct | TemplateNodeIf::GuardedNodes |
| class | TemplateNodeRepeat |
| Class representing a 'for' tag in a template. More... | |
| class | TemplateNodeRange |
| Class representing a 'range' tag in a template. More... | |
| class | TemplateNodeFor |
| Class representing a 'for' tag in a template. More... | |
| class | TemplateNodeMsg |
| Class representing an 'markers' tag in a template. More... | |
| class | TemplateNodeBlock |
| Class representing a 'block' tag in a template. More... | |
| class | TemplateNodeExtend |
| Class representing a 'extend' tag in a template. More... | |
| class | TemplateNodeInclude |
| Class representing an 'include' tag in a template. More... | |
| class | TemplateNodeCreate |
| Class representing an 'create' tag in a template. More... | |
| class | TemplateNodeTree |
| Class representing an 'tree' tag in a template. More... | |
| struct | TemplateNodeTree::TreeContext |
| class | TemplateNodeIndexEntry |
| Class representing an 'indexentry' tag in a template. More... | |
| struct | TemplateNodeIndexEntry::Mapping |
| class | TemplateNodeOpenSubIndex |
| Class representing an 'opensubindex' tag in a template. More... | |
| class | TemplateNodeCloseSubIndex |
| Class representing an 'closesubindex' tag in a template. More... | |
| class | TemplateNodeWith |
| Class representing an 'with' tag in a template. More... | |
| struct | TemplateNodeWith::Mapping |
| class | TemplateNodeCycle |
| Class representing an 'cycle' tag in a template. More... | |
| class | TemplateNodeSet |
| Class representing an 'set' tag in a template. More... | |
| struct | TemplateNodeSet::Mapping |
| class | TemplateNodeSpaceless |
| Class representing an 'spaceless' tag in a template. More... | |
| class | TemplateNodeMarkers |
| Class representing an 'markers' tag in a template. More... | |
| class | TemplateNodeTabbing |
| Class representing an 'tabbing' tag in a template. More... | |
| class | TemplateNodeResource |
| Class representing an 'markers' tag in a template. More... | |
| class | TemplateNodeFactory |
| Factory class for creating tag AST nodes found in a template. More... | |
| class | TemplateNodeFactory::AutoRegister< T > |
| Helper class for registering a template AST node. More... | |
| class | TemplateLexer |
| Lexer class for turning a template into a list of tokens. More... | |
| class | TemplateEngine::Private |
| Private data of the template engine. More... | |
| class | TemplateEngine::Private::IncludeEntry |
Macros | |
| #define | ENABLE_TRACING 0 |
| #define | TRACE(x) |
Functions | |
| static QValueList< QCString > | split (const QCString &str, const QCString &sep, bool allowEmptyEntries=FALSE, bool cleanup=TRUE) |
| static QCString | removeSpacesAroundEquals (const char *s) |
| static void | getPathListFunc (TemplateStructIntf *entry, TemplateList *list) |
| static TemplateVariant | getPathFunc (const void *ctx, const QValueList< TemplateVariant > &) |
| static void | stripLeadingWhiteSpace (QGString &s) |
| #define ENABLE_TRACING 0 |
Definition at line 38 of file template.cpp.
| #define TRACE | ( | x | ) |
Definition at line 43 of file template.cpp.
|
static |
Definition at line 2499 of file template.cpp.
|
static |
Definition at line 2489 of file template.cpp.
|
static |
Strips spaces surrounding = from string in, so foo = 10 bar=5 baz= 'hello' will become foo=10 bar=5 baz='hello'
Definition at line 104 of file template.cpp.
|
static |
Definition at line 50 of file template.cpp.
|
static |
Definition at line 3459 of file template.cpp.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.11