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

Public Member Functions

 RangeNode (const QString &name, const FilterExpression &startExpression, const FilterExpression &stopExpression, const FilterExpression &stepExpression={}, QObject *parent={})
 
 RangeNode (const QString &name, const FilterExpression &startExpression, const FilterExpression &stopExpression, QObject *parent={})
 
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 36 of file range.h.

Member Function Documentation

◆ render()

void RangeNode::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 100 of file range.cpp.

References Cutelee::Context::insert(), Cutelee::FilterExpression::isValid(), Cutelee::Context::pop(), Cutelee::Context::push(), Cutelee::NodeList::render(), and Cutelee::FilterExpression::resolve().