Cutelee 6.2.0
FilterNode Class Reference
Inheritance diagram for FilterNode:

Public Member Functions

 FilterNode (const FilterExpression &fe, QObject *parent={})
 
void render (OutputStream *stream, Context *c) const override
 
void setNodeList (const NodeList &filterList)
 
- 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 filtertag.h.

Constructor & Destructor Documentation

◆ FilterNode()

FilterNode::FilterNode ( const FilterExpression & fe,
QObject * parent = {} )
explicit

Definition at line 56 of file filtertag.cpp.

Member Function Documentation

◆ render()

void FilterNode::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 66 of file filtertag.cpp.

References Cutelee::OutputStream::clone(), Cutelee::Context::insert(), Cutelee::Context::pop(), and Cutelee::Context::push().

◆ setNodeList()

void FilterNode::setNodeList ( const NodeList & filterList)

Definition at line 61 of file filtertag.cpp.