Grantlee 5.3.0
|
Provides storage facility for state while rendering a template. More...
#include <rendercontext.h>
Public Member Functions | |
~RenderContext () | |
bool | contains (Node *const scopeNode) const |
QVariant & | data (const Node *const scopeNode) |
This class can not be instatiated by users of it. An instance of RenderContext is available through Context::renderContext() for use with implementations of re-entrant template tags.
Definition at line 46 of file rendercontext.h.
Grantlee::RenderContext::~RenderContext | ( | ) |
Destructor
bool Grantlee::RenderContext::contains | ( | Node *const | scopeNode | ) | const |
Returns whether the RenderContext contains data for scopeNode
.
QVariant & Grantlee::RenderContext::data | ( | const Node *const | scopeNode | ) |
Returns the data for the node scopeNode
.