#include <Template.hpp>
Public Attributes | |
int | type |
Element type. | |
std::vector< std::string > | params |
Element parameters. | |
std::vector< TemplateVar > | vars |
Element variables. | |
std::vector< int > | refs |
Element references. | |
Static Public Attributes | |
static const int | TE_INVALID = -1 |
Element type: Invalid. | |
static const int | TE_CDATA = 0 |
Element type: Character data. | |
static const int | TE_VAR = 1 |
Element type: Variable. | |
static const int | TE_FOREACH = 2 |
Element type: foreach block. | |
static const int | TE_FOREACH_ELSE = 3 |
Element type: (foreach) else block. | |
static const int | TE_FOREACH_END = 4 |
Element type: foreach block (end tag). | |
static const int | TE_IF = 5 |
Element type: if block. | |
static const int | TE_IF_ELSE = 6 |
Element type: (if) else block. | |
static const int | TE_IF_END = 7 |
Element type: if block (end tag). | |
static const int | TE_FIRST = 8 |
Element type: first block. | |
static const int | TE_FIRST_END = 9 |
Element type: first block (end tag). | |
static const int | TE_MID = 10 |
Element type: mid block. | |
static const int | TE_MID_END = 11 |
Element type: mid block (end tag). | |
static const int | TE_LAST = 12 |
Element type: last block. | |
static const int | TE_LAST_END = 13 |
Element type: last block (end tag). | |
static const int | TE_SINGLE = 14 |
Element type: single block. | |
static const int | TE_SINGLE_END = 15 |
Element type: single block (end tag). | |
static const int | TE_NOTLAST = 20 |
Element type: notlast block. | |
static const int | TE_NOTLAST_END = 21 |
Element type: notlast block (end tag). | |
static const int | TE_NOTFIRST = 16 |
Element type: notfirst block. | |
static const int | TE_NOTFIRST_END = 17 |
Element type: notfirst block (end tag). | |
static const int | TE_NOTMID = 18 |
Element type: notmid block. | |
static const int | TE_NOTMID_END = 19 |
Element type: notmid block (end tag). | |
static const int | TE_NOTSINGLE = 22 |
Element type: notsingle block. | |
static const int | TE_NOTSINGLE_END = 23 |
Element type: notsingle block (end tag). | |
static const int | TE_INCLUDE = 24 |
Element type: include. | |
static const int | TE_SWRAP = 25 |
Element type: swrap. | |
static const int | TE_SWRAP_END = 26 |
Element type: swrap (end tag). | |
static const int | TE_SECTION = 27 |
Element type: section. | |
static const int | TE_SECTION_END = 28 |
Element type: section (end tag). | |
static const int | TE_REF = 29 |
Element type: ref. |
Part of a template, generated from character data and template tags by the template parser.
|
Element parameters.
|
|
Element references.
|
|
Element type: Character data.
|
|
Element type: first block.
|
|
Element type: first block (end tag).
|
|
Element type: foreach block.
|
|
Element type: (foreach) else block.
|
|
Element type: foreach block (end tag).
|
|
Element type: if block.
|
|
Element type: (if) else block.
|
|
Element type: if block (end tag).
|
|
Element type: include.
|
|
Element type: Invalid.
|
|
Element type: last block.
|
|
Element type: last block (end tag).
|
|
Element type: mid block.
|
|
Element type: mid block (end tag).
|
|
Element type: notfirst block.
|
|
Element type: notfirst block (end tag).
|
|
Element type: notlast block.
|
|
Element type: notlast block (end tag).
|
|
Element type: notmid block.
|
|
Element type: notmid block (end tag).
|
|
Element type: notsingle block.
|
|
Element type: notsingle block (end tag).
|
|
Element type: ref.
|
|
Element type: section.
|
|
Element type: section (end tag).
|
|
Element type: single block.
|
|
Element type: single block (end tag).
|
|
Element type: swrap.
|
|
Element type: swrap (end tag).
|
|
Element type: Variable.
|
|
Element type.
|
|
Element variables.
|