ionflux.org | Impressum

Ionflux::Tools::TemplateElement Struct Reference
[Template processor]

Template element. More...

#include <Template.hpp>

List of all members.

Public Attributes

int type
 Element type.
std::vector< std::string > params
 Element parameters.
std::vector< TemplateVarvars
 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.


Detailed Description

Template element.

Part of a template, generated from character data and template tags by the template parser.


Member Data Documentation

std::vector<std::string> Ionflux::Tools::TemplateElement::params
 

Element parameters.

std::vector<int> Ionflux::Tools::TemplateElement::refs
 

Element references.

const int Ionflux::Tools::TemplateElement::TE_CDATA = 0 [static]
 

Element type: Character data.

const int Ionflux::Tools::TemplateElement::TE_FIRST = 8 [static]
 

Element type: first block.

const int Ionflux::Tools::TemplateElement::TE_FIRST_END = 9 [static]
 

Element type: first block (end tag).

const int Ionflux::Tools::TemplateElement::TE_FOREACH = 2 [static]
 

Element type: foreach block.

const int Ionflux::Tools::TemplateElement::TE_FOREACH_ELSE = 3 [static]
 

Element type: (foreach) else block.

const int Ionflux::Tools::TemplateElement::TE_FOREACH_END = 4 [static]
 

Element type: foreach block (end tag).

const int Ionflux::Tools::TemplateElement::TE_IF = 5 [static]
 

Element type: if block.

const int Ionflux::Tools::TemplateElement::TE_IF_ELSE = 6 [static]
 

Element type: (if) else block.

const int Ionflux::Tools::TemplateElement::TE_IF_END = 7 [static]
 

Element type: if block (end tag).

const int Ionflux::Tools::TemplateElement::TE_INCLUDE = 24 [static]
 

Element type: include.

const int Ionflux::Tools::TemplateElement::TE_INVALID = -1 [static]
 

Element type: Invalid.

const int Ionflux::Tools::TemplateElement::TE_LAST = 12 [static]
 

Element type: last block.

const int Ionflux::Tools::TemplateElement::TE_LAST_END = 13 [static]
 

Element type: last block (end tag).

const int Ionflux::Tools::TemplateElement::TE_MID = 10 [static]
 

Element type: mid block.

const int Ionflux::Tools::TemplateElement::TE_MID_END = 11 [static]
 

Element type: mid block (end tag).

const int Ionflux::Tools::TemplateElement::TE_NOTFIRST = 16 [static]
 

Element type: notfirst block.

const int Ionflux::Tools::TemplateElement::TE_NOTFIRST_END = 17 [static]
 

Element type: notfirst block (end tag).

const int Ionflux::Tools::TemplateElement::TE_NOTLAST = 20 [static]
 

Element type: notlast block.

const int Ionflux::Tools::TemplateElement::TE_NOTLAST_END = 21 [static]
 

Element type: notlast block (end tag).

const int Ionflux::Tools::TemplateElement::TE_NOTMID = 18 [static]
 

Element type: notmid block.

const int Ionflux::Tools::TemplateElement::TE_NOTMID_END = 19 [static]
 

Element type: notmid block (end tag).

const int Ionflux::Tools::TemplateElement::TE_NOTSINGLE = 22 [static]
 

Element type: notsingle block.

const int Ionflux::Tools::TemplateElement::TE_NOTSINGLE_END = 23 [static]
 

Element type: notsingle block (end tag).

const int Ionflux::Tools::TemplateElement::TE_REF = 29 [static]
 

Element type: ref.

const int Ionflux::Tools::TemplateElement::TE_SECTION = 27 [static]
 

Element type: section.

const int Ionflux::Tools::TemplateElement::TE_SECTION_END = 28 [static]
 

Element type: section (end tag).

const int Ionflux::Tools::TemplateElement::TE_SINGLE = 14 [static]
 

Element type: single block.

const int Ionflux::Tools::TemplateElement::TE_SINGLE_END = 15 [static]
 

Element type: single block (end tag).

const int Ionflux::Tools::TemplateElement::TE_SWRAP = 25 [static]
 

Element type: swrap.

const int Ionflux::Tools::TemplateElement::TE_SWRAP_END = 26 [static]
 

Element type: swrap (end tag).

const int Ionflux::Tools::TemplateElement::TE_VAR = 1 [static]
 

Element type: Variable.

int Ionflux::Tools::TemplateElement::type
 

Element type.

std::vector<TemplateVar> Ionflux::Tools::TemplateElement::vars
 

Element variables.


The documentation for this struct was generated from the following files:
Generated on Tue Mar 14 21:11:12 2006 for Ionflux Tools Class Library (iftools) by  doxygen 1.4.6