HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ScopedSetVariableName Class Reference

A RAII class for overriding port variable names. More...

#include <GenContext.h>

Public Member Functions

 ScopedSetVariableName (const string &name, ShaderPort *port)
 Constructor for setting a new variable name for a port. More...
 
 ~ScopedSetVariableName ()
 Destructor restoring the original variable name. More...
 

Detailed Description

A RAII class for overriding port variable names.

Definition at line 344 of file GenContext.h.

Constructor & Destructor Documentation

ScopedSetVariableName::ScopedSetVariableName ( const string name,
ShaderPort port 
)

Constructor for setting a new variable name for a port.

ScopedSetVariableName::~ScopedSetVariableName ( )

Destructor restoring the original variable name.


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