Cutelee 6.2.0
SpacelessNode Class Reference
Inheritance diagram for SpacelessNode:

Public Member Functions

 SpacelessNode (QObject *parent={})
void render (OutputStream *stream, Context *c) const override
void setList (const NodeList &nodeList)
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 37 of file spaceless.h.

Constructor & Destructor Documentation

◆ SpacelessNode()

SpacelessNode::SpacelessNode ( QObject * parent = {})

Definition at line 40 of file spaceless.cpp.

Member Function Documentation

◆ render()

void SpacelessNode::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 53 of file spaceless.cpp.

References Cutelee::OutputStream::clone(), and Cutelee::markSafe().

◆ setList()

void SpacelessNode::setList ( const NodeList & nodeList)

Definition at line 42 of file spaceless.cpp.