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

#include <glslsymbols_p.h>

Inheritance diagram for GLSL::Namespace:
Collaboration diagram for GLSL::Namespace:

Public Member Functions

 Namespace ()
 ~Namespace () override
void add (Symbol *symbol) override
NamespaceasNamespace () override
QList< Symbol * > members () const override
const Typetype () const override
Symbolfind (const QString &name) const override
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 StructasStruct ()
virtual FunctionasFunction ()
virtual ArgumentasArgument ()
virtual BlockasBlock ()
virtual VariableasVariable ()
virtual OverloadSetasOverloadSet ()

Detailed Description

Definition at line 77 of file glslsymbols_p.h.

Constructor & Destructor Documentation

◆ Namespace()

Namespace::Namespace ( )

Definition at line 71 of file glslsymbols.cpp.

◆ ~Namespace()

Namespace::~Namespace ( )
override

Definition at line 75 of file glslsymbols.cpp.

Member Function Documentation

◆ add()

void Namespace::add ( Symbol * symbol)
overridevirtual

Implements GLSL::Scope.

Definition at line 85 of file glslsymbols.cpp.

◆ asNamespace()

Namespace * GLSL::Namespace::asNamespace ( )
inlineoverridevirtual

Reimplemented from GLSL::Symbol.

Definition at line 85 of file glslsymbols_p.h.

◆ find()

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

Implements GLSL::Scope.

Definition at line 113 of file glslsymbols.cpp.

◆ members()

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

Reimplemented from GLSL::Scope.

Definition at line 80 of file glslsymbols.cpp.

◆ type()

const Type * Namespace::type ( ) const
overridevirtual

Implements GLSL::Symbol.

Definition at line 108 of file glslsymbols.cpp.


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