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

Public Member Functions

 L10nMoneyNode (const FilterExpression &value, const FilterExpression &currency, 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 51 of file l10n_money.h.

Member Function Documentation

◆ render()

void L10nMoneyNode::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 82 of file l10n_money.cpp.

References Cutelee::SafeString::get(), Cutelee::getSafeString(), Cutelee::Context::localizer(), Cutelee::FilterExpression::resolve(), and Cutelee::Node::streamValueInContext().