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::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.

References qDeleteAll().

+ Here is the call graph for this function:

Member Function Documentation

◆ add()

void Namespace::add ( Symbol * symbol)
overridevirtual

Implements GLSL::Scope.

Definition at line 85 of file glslsymbols.cpp.

References GLSL::Symbol::asFunction(), GLSL::Symbol::asOverloadSet(), fun, GLSL::Symbol::name(), and o.

+ Here is the call graph for this function:

◆ 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: