Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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.

◆ type()

const Type * Variable::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Definition at line 61 of file glslsymbols.cpp.


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