Envision
A visual programming IDE for object-oriented languages
List of all members | Public Types | Public Member Functions
OOModel::Module Class Reference
Inheritance diagram for OOModel::Module:
Core::Reflect< Base >

Public Types

enum class  ModuleKind : int { Standard , Folder }
 

Public Member Functions

 Module (const QString &name, ModuleKind kind=ModuleKind::Standard)
 
virtual bool isNewPersistenceUnit () const override
 
virtual bool isTransparentForNameResolution () const override
 
ModuleKind kind () const
 
void setKind (ModuleKind kind)
 
virtual SymbolTypes symbolType () const override
 
virtual QList< const Model::UsedLibrary * > usedLibraries () const override
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Member Enumeration Documentation

◆ ModuleKind

enum OOModel::Module::ModuleKind : int
strong
Enumerator
Standard 

Used for namespaces or packages.

Folder 

Used for grouping declarations in sub-directories.

Constructor & Destructor Documentation

◆ Module()

OOModel::Module::Module ( const QString &  name,
ModuleKind  kind = ModuleKind::Standard 
)

Member Function Documentation

◆ isNewPersistenceUnit()

bool OOModel::Module::isNewPersistenceUnit ( ) const
overridevirtual

◆ isTransparentForNameResolution()

bool OOModel::Module::isTransparentForNameResolution ( ) const
overridevirtual

◆ kind()

Module::ModuleKind OOModel::Module::kind ( ) const
inline

◆ setKind()

void OOModel::Module::setKind ( ModuleKind  kind)
inline

◆ symbolType()

Module::SymbolTypes OOModel::Module::symbolType ( ) const
overridevirtual

◆ usedLibraries()

QList< const Model::UsedLibrary * > OOModel::Module::usedLibraries ( ) const
overridevirtual