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::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)
OverloadSet * asOverloadSet () override
const Type * type () const override
Symbol * find (const QString &name) const override
void add (Symbol *symbol) override
QString toString () const override
const OverloadSet * asOverloadSetType () 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 UndefinedType * asUndefinedType () const
virtual const VoidType * asVoidType () const
virtual const BoolType * asBoolType () const
virtual const IntType * asIntType () const
virtual const UIntType * asUIntType () const
virtual const FloatType * asFloatType () const
virtual const DoubleType * asDoubleType () const
virtual const ScalarType * asScalarType () const
virtual const IndexType * asIndexType () const
virtual const VectorType * asVectorType () const
virtual const MatrixType * asMatrixType () const
virtual const ArrayType * asArrayType () const
virtual const SamplerType * asSamplerType () const
virtual const Struct * asStructType () const
virtual const Function * asFunctionType () const
Public Member Functions inherited from GLSL::Scope
 Scope (Scope *sscope=nullptr)
Symbol * lookup (const QString &name) const
virtual QList< Symbol * > members () const
Scope * asScope () override
Public Member Functions inherited from GLSL::Symbol
 Symbol (Scope *scope=nullptr)
virtual ~Symbol ()
Scope * scope () const
void setScope (Scope *scope)
QString name () const
void setName (const QString &name)
virtual Struct * asStruct ()
virtual Function * asFunction ()
virtual Argument * asArgument ()
virtual Block * asBlock ()
virtual Variable * asVariable ()
virtual Namespace * asNamespace ()

Detailed Description

Definition at line 261 of file glsltypes_p.h.

Constructor & Destructor Documentation

◆ OverloadSet()

OverloadSet::OverloadSet ( Scope * enclosingScope = nullptr)

Definition at line 456 of file glsltypes.cpp.

Member Function Documentation

◆ add()

void OverloadSet::add ( Symbol * symbol)
overridevirtual

Implements GLSL::Scope.

Definition at line 481 of file glsltypes.cpp.

◆ addFunction()

void OverloadSet::addFunction ( Function * function)

Definition at line 466 of file glsltypes.cpp.

◆ asOverloadSet()

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

Reimplemented from GLSL::Symbol.

Definition at line 270 of file glsltypes_p.h.

◆ asOverloadSetType()

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

Reimplemented from GLSL::Type.

Definition at line 277 of file glsltypes_p.h.

◆ find()

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

Implements GLSL::Scope.

Definition at line 476 of file glsltypes.cpp.

◆ functions()

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

Definition at line 461 of file glsltypes.cpp.

◆ isEqualTo()

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

Implements GLSL::Type.

Definition at line 489 of file glsltypes.cpp.

◆ isLessThan()

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

Implements GLSL::Type.

Definition at line 495 of file glsltypes.cpp.

◆ toString()

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

Implements GLSL::Type.

Definition at line 276 of file glsltypes_p.h.

◆ type()

const Type * OverloadSet::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Definition at line 471 of file glsltypes.cpp.


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