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::Struct Class Reference

#include <glsltypes_p.h>

Inheritance diagram for GLSL::Struct:
Collaboration diagram for GLSL::Struct:

Public Member Functions

 Struct (Scope *scope=nullptr)
QList< Symbol * > members () const override
void add (Symbol *member) override
Symbolfind (const QString &name) const override
QString toString () const override
const StructasStructType () const override
bool isEqualTo (const Type *other) const override
bool isLessThan (const Type *other) const override
StructasStruct () override
const Typetype () const override
Public Member Functions inherited from GLSL::Type
virtual ~Type ()
virtual const UndefinedTypeasUndefinedType () const
virtual const VoidTypeasVoidType () const
virtual const BoolTypeasBoolType () const
virtual const IntTypeasIntType () const
virtual const UIntTypeasUIntType () const
virtual const FloatTypeasFloatType () const
virtual const DoubleTypeasDoubleType () const
virtual const ScalarTypeasScalarType () const
virtual const IndexTypeasIndexType () const
virtual const VectorTypeasVectorType () const
virtual const MatrixTypeasMatrixType () const
virtual const ArrayTypeasArrayType () const
virtual const SamplerTypeasSamplerType () const
virtual const OverloadSetasOverloadSetType () const
virtual const FunctionasFunctionType () const
Public Member Functions inherited from GLSL::Scope
 Scope (Scope *sscope=nullptr)
Symbollookup (const QString &name) const
ScopeasScope () 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 FunctionasFunction ()
virtual ArgumentasArgument ()
virtual BlockasBlock ()
virtual VariableasVariable ()
virtual OverloadSetasOverloadSet ()
virtual NamespaceasNamespace ()

Detailed Description

Definition at line 178 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ Struct()

GLSL::Struct::Struct ( Scope * scope = nullptr)
inline

Definition at line 181 of file glsltypes_p.h.

Member Function Documentation

◆ add()

void Struct::add ( Symbol * member)
overridevirtual

Implements GLSL::Scope.

Definition at line 320 of file glsltypes.cpp.

◆ asStruct()

Struct * GLSL::Struct::asStruct ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 195 of file glsltypes_p.h.

◆ asStructType()

const Struct * GLSL::Struct::asStructType ( ) const
inlineoverridevirtual

Reimplemented from GLSL::Type.

Definition at line 190 of file glsltypes_p.h.

◆ find()

Symbol * Struct::find ( const QString & name) const
overridevirtual

Implements GLSL::Scope.

Definition at line 325 of file glsltypes.cpp.

◆ isEqualTo()

bool Struct::isEqualTo ( const Type * other) const
overridevirtual

Implements GLSL::Type.

Definition at line 334 of file glsltypes.cpp.

◆ isLessThan()

bool Struct::isLessThan ( const Type * other) const
overridevirtual

Implements GLSL::Type.

Definition at line 340 of file glsltypes.cpp.

◆ members()

QList< Symbol * > Struct::members ( ) const
overridevirtual

Reimplemented from GLSL::Scope.

Definition at line 310 of file glsltypes.cpp.

◆ toString()

QString GLSL::Struct::toString ( ) const
inlineoverridevirtual

Implements GLSL::Type.

Definition at line 189 of file glsltypes_p.h.

◆ type()

const Type * GLSL::Struct::type ( ) const
inlineoverridevirtual

Implements GLSL::Symbol.

Definition at line 196 of file glsltypes_p.h.


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