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

#include <glsltypes_p.h>

+ Inheritance diagram for GLSL::OverloadSet:
+ Collaboration diagram for GLSL::OverloadSet:

Public Member Functions

 OverloadSet (Scope *enclosingScope=nullptr)
 
QVector< Function * > functions () const
 
void addFunction (Function *function)
 
OverloadSetasOverloadSet () override
 
const Typetype () const override
 
Symbolfind (const QString &name) const override
 
void add (Symbol *symbol) override
 
QString toString () const override
 
const OverloadSetasOverloadSetType () const override
 
bool isEqualTo (const Type *other) const override
 
bool isLessThan (const Type *other) 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 StructasStructType () const
 
virtual const FunctionasFunctionType () const
 
- Public Member Functions inherited from GLSL::Scope
 Scope (Scope *sscope=nullptr)
 
Symbollookup (const QString &name) const
 
virtual QList< Symbol * > members () 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 StructasStruct ()
 
virtual FunctionasFunction ()
 
virtual ArgumentasArgument ()
 
virtual BlockasBlock ()
 
virtual VariableasVariable ()
 
virtual NamespaceasNamespace ()
 

Detailed Description

Definition at line 259 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ OverloadSet()

OverloadSet::OverloadSet ( Scope * enclosingScope = nullptr)

Definition at line 454 of file glsltypes.cpp.

Member Function Documentation

◆ add()

void OverloadSet::add ( Symbol * symbol)
overridevirtual

Implements GLSL::Scope.

Definition at line 479 of file glsltypes.cpp.

References addFunction(), GLSL::Symbol::asFunction(), and fun.

+ Here is the call graph for this function:

◆ addFunction()

void OverloadSet::addFunction ( Function * function)

Definition at line 464 of file glsltypes.cpp.

Referenced by add().

+ Here is the caller graph for this function:

◆ asOverloadSet()

OverloadSet * GLSL::OverloadSet::asOverloadSet ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 268 of file glsltypes_p.h.

◆ asOverloadSetType()

const OverloadSet * GLSL::OverloadSet::asOverloadSetType ( ) const
inlineoverridevirtual

Reimplemented from GLSL::Type.

Definition at line 275 of file glsltypes_p.h.

Referenced by GLSL::Semantic::visit().

+ Here is the caller graph for this function:

◆ find()

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

Implements GLSL::Scope.

Definition at line 474 of file glsltypes.cpp.

◆ functions()

QVector< Function * > OverloadSet::functions ( ) const

Definition at line 459 of file glsltypes.cpp.

◆ isEqualTo()

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

Implements GLSL::Type.

Definition at line 487 of file glsltypes.cpp.

References other(), and Q_UNUSED.

+ Here is the call graph for this function:

◆ isLessThan()

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

Implements GLSL::Type.

Definition at line 493 of file glsltypes.cpp.

References other(), and Q_UNUSED.

+ Here is the call graph for this function:

◆ toString()

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

Implements GLSL::Type.

Definition at line 274 of file glsltypes_p.h.

◆ type()

const Type * OverloadSet::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Definition at line 469 of file glsltypes.cpp.


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