My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
TemplateNode Class Referenceabstract

Base class of all nodes in a template's AST. More...

Inheritance diagram for TemplateNode:
TemplateImpl TemplateNodeCreator< T > TemplateNodeCreator< TemplateNodeBlock > TemplateNodeCreator< TemplateNodeCloseSubIndex > TemplateNodeCreator< TemplateNodeCreate > TemplateNodeCreator< TemplateNodeCycle > TemplateNodeCreator< TemplateNodeEncoding > TemplateNodeCreator< TemplateNodeExtend > TemplateNodeCreator< TemplateNodeFor > TemplateNodeCreator< TemplateNodeIf > TemplateNodeCreator< TemplateNodeInclude > TemplateNodeCreator< TemplateNodeIndexEntry > TemplateNodeCreator< TemplateNodeMarkers > TemplateNodeCreator< TemplateNodeMsg > TemplateNodeCreator< TemplateNodeOpenSubIndex > TemplateNodeCreator< TemplateNodeRange > TemplateNodeCreator< TemplateNodeRepeat > TemplateNodeCreator< TemplateNodeResource > TemplateNodeCreator< TemplateNodeSet > TemplateNodeCreator< TemplateNodeSpaceless > TemplateNodeCreator< TemplateNodeTabbing > TemplateNodeCreator< TemplateNodeTree > TemplateNodeCreator< TemplateNodeWith > TemplateNodeText TemplateNodeVariable

Public Member Functions

 TemplateNode (TemplateNode *parent)
 
virtual ~TemplateNode ()
 
virtual void render (FTextStream &ts, TemplateContext *c)=0
 
TemplateNodeparent ()
 

Private Attributes

TemplateNodem_parent
 

Detailed Description

Base class of all nodes in a template's AST.

Definition at line 1707 of file template.cpp.

Constructor & Destructor Documentation

TemplateNode::TemplateNode ( TemplateNode parent)
inline

Definition at line 1710 of file template.cpp.

: m_parent(parent) {}
virtual TemplateNode::~TemplateNode ( )
inlinevirtual

Definition at line 1711 of file template.cpp.

{}

Member Function Documentation

TemplateNode* TemplateNode::parent ( )
inline

Definition at line 1715 of file template.cpp.

References m_parent.

Referenced by TemplateNodeCreator< TemplateNodeBlock >::getTemplate().

{ return m_parent; }
virtual void TemplateNode::render ( FTextStream ts,
TemplateContext c 
)
pure virtual

Member Data Documentation

TemplateNode* TemplateNode::m_parent
private

Definition at line 1718 of file template.cpp.

Referenced by parent().


The documentation for this class was generated from the following file: