Grantlee 0.1.9
Public Member Functions
Grantlee::RenderContext Class Reference

Provides storage facility for state while rendering a template. More...

#include <rendercontext.h>

List of all members.

Public Member Functions

 ~RenderContext ()
bool contains (Node *const scopeNode) const
QVariant & data (Node *const scopeNode)

Detailed Description

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 47 of file rendercontext.h.


Constructor & Destructor Documentation

Grantlee::RenderContext::~RenderContext ( )

Destructor


Member Function Documentation

bool Grantlee::RenderContext::contains ( Node *const  scopeNode) const

Returns whether the RenderContext contains data for scopeNode.

QVariant& Grantlee::RenderContext::data ( Node *const  scopeNode)

Returns the data for the node scopeNode.