Cutelee 6.1.0
IfEqualNode Class Reference
Inheritance diagram for IfEqualNode:

Public Member Functions

 IfEqualNode (const FilterExpression &val11, const FilterExpression &val2, bool negate, QObject *parent={})
void render (OutputStream *stream, Context *c) const override
void setFalseList (const NodeList &falseList)
void setTrueList (const NodeList &trueList)
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 49 of file ifequal.h.

Constructor & Destructor Documentation

◆ IfEqualNode()

IfEqualNode::IfEqualNode ( const FilterExpression & val11,
const FilterExpression & val2,
bool negate,
QObject * parent = {} )

Definition at line 71 of file ifequal.cpp.

Member Function Documentation

◆ render()

void IfEqualNode::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 91 of file ifequal.cpp.

References Cutelee::equals().

◆ setFalseList()

void IfEqualNode::setFalseList ( const NodeList & falseList)

Definition at line 86 of file ifequal.cpp.

◆ setTrueList()

void IfEqualNode::setTrueList ( const NodeList & trueList)

Definition at line 81 of file ifequal.cpp.