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.

Member Function Documentation

◆ 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().