Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
GLSL::Variable Class Reference

#include <glslsymbols_p.h>

+ Inheritance diagram for GLSL::Variable:
+ Collaboration diagram for GLSL::Variable:

Public Member Functions

 Variable (Scope *scope)
 
const Typetype () const override
 
void setType (const Type *type)
 
int qualifiers () const
 
void setQualifiers (int qualifiers)
 
VariableasVariable () override
 
- Public Member Functions inherited from GLSL::Symbol
 Symbol (Scope *scope=nullptr)
 
virtual ~Symbol ()
 
Scopescope () const
 
void setScope (Scope *scope)
 
QString name () const
 
void setName (const QString &name)
 
virtual ScopeasScope ()
 
virtual StructasStruct ()
 
virtual FunctionasFunction ()
 
virtual ArgumentasArgument ()
 
virtual BlockasBlock ()
 
virtual OverloadSetasOverloadSet ()
 
virtual NamespaceasNamespace ()
 

Detailed Description

Definition at line 42 of file glslsymbols_p.h.

Constructor & Destructor Documentation

◆ Variable()

Variable::Variable ( Scope * scope)

Definition at line 54 of file glslsymbols.cpp.

Member Function Documentation

◆ asVariable()

Variable * GLSL::Variable::asVariable ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 53 of file glslsymbols_p.h.

◆ qualifiers()

int GLSL::Variable::qualifiers ( ) const
inline

Definition at line 50 of file glslsymbols_p.h.

◆ setQualifiers()

void GLSL::Variable::setQualifiers ( int qualifiers)
inline

Definition at line 51 of file glslsymbols_p.h.

◆ setType()

void Variable::setType ( const Type * type)

Definition at line 66 of file glslsymbols.cpp.

References type().

+ Here is the call graph for this function:

◆ type()

const Type * Variable::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Definition at line 61 of file glslsymbols.cpp.

Referenced by setType().

+ Here is the caller graph for this function:

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