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

Public Member Functions

 I18npVarNode (const QString &sourceText, const QString &pluralText, const QList< FilterExpression > &feList, const QString &resultName, QObject *parent={})
 
void render (OutputStream *stream, Context *c) const override
 
- 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 65 of file i18np.h.

Member Function Documentation

◆ render()

void I18npVarNode::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 155 of file i18np.cpp.

References Cutelee::Context::insert(), Cutelee::Context::localizer(), and Cutelee::FilterExpression::resolve().