Smithy Qt 0.1.0-pre
Internal development documentation
Loading...
Searching...
No Matches
ScopedContext Class Reference
Collaboration diagram for ScopedContext:
[legend]

Public Member Functions

 ScopedContext (Renderer *renderer, const QVariantHash &hash)
 

Private Attributes

Rendererrenderer
 

Detailed Description

Definition at line 16 of file generator.cpp.

Constructor & Destructor Documentation

◆ ScopedContext() [1/2]

ScopedContext::ScopedContext ( Renderer * renderer,
const QVariantHash & hash )
inline

Definition at line 19 of file generator.cpp.

19 : renderer(renderer)
20 {
21 renderer->push(hash);
22 }

◆ ScopedContext() [2/2]

ScopedContext::ScopedContext ( )
inline

Definition at line 24 of file generator.cpp.

24 {
25 renderer->pop();
26 }

Member Data Documentation

◆ renderer

Renderer* ScopedContext::renderer
private

Definition at line 29 of file generator.cpp.


The documentation for this class was generated from the following file: