Cutelee 6.1.0
Public Member Functions | List of all members
ExtendsNode Class Reference
Inheritance diagram for ExtendsNode:
Inheritance graph
[legend]

Public Member Functions

 ExtendsNode (const FilterExpression &fe, QObject *parent={})
 
void appendNode (Node *node)
 
Template getParent (Context *c) const
 
bool mustBeFirst () override
 
void render (OutputStream *stream, Context *c) const override
 
void setNodeList (const NodeList &list)
 
- Public Member Functions inherited from Cutelee::Node
 Node (QObject *parent={})
 
 ~Node () override
 

Additional Inherited Members

- Protected Member Functions inherited from Cutelee::Node
TemplateImpl * containerTemplate () const
 
void streamValueInContext (OutputStream *stream, const QVariant &input, Cutelee::Context *c) const
 

Detailed Description

Definition at line 45 of file extends.h.

Constructor & Destructor Documentation

◆ ExtendsNode()

ExtendsNode::ExtendsNode ( const FilterExpression fe,
QObject *  parent = {} 
)

Definition at line 71 of file extends.cpp.

◆ ~ExtendsNode()

ExtendsNode::~ExtendsNode ( )
override

Definition at line 76 of file extends.cpp.

Member Function Documentation

◆ appendNode()

void ExtendsNode::appendNode ( Node node)

Definition at line 162 of file extends.cpp.

◆ getParent()

Template ExtendsNode::getParent ( Context c) const

Definition at line 100 of file extends.cpp.

◆ mustBeFirst()

bool ExtendsNode::mustBeFirst ( )
inlineoverride

Definition at line 60 of file extends.h.

◆ render()

void ExtendsNode::render ( OutputStream stream,
Context c 
) const
overridevirtual

Reimplement this to render the template in the Context c.

This will also involve calling render on and child nodes.

Implements Cutelee::Node.

Definition at line 124 of file extends.cpp.

References Cutelee::RenderContext::data(), and Cutelee::Context::renderContext().

◆ setNodeList()

void ExtendsNode::setNodeList ( const NodeList list)

Definition at line 92 of file extends.cpp.