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

Public Types

enum class  MethodKind : int { Default , Constructor , Destructor , Conversion , OperatorOverload }
 

Public Member Functions

 Method (const QString &name)
 
 Method (const QString &name, MethodKind kind)
 
 Method (const QString &name, Modifier::Modifiers mod)
 
 Method (const QString &name, Modifier::Modifiers mod, MethodKind kind)
 
QSet< Method * > callees ()
 
QSet< Method * > callers ()
 
virtual bool findSymbols (std::unique_ptr< Model::ResolutionRequest > request) const override
 
QString fullyQualifiedName () const
 
bool isGeneric ()
 
virtual bool isNewPersistenceUnit () const override
 
bool isOverridenBy (Method *other)
 
bool isStatic () const
 
MethodKind methodKind () const
 
bool overrides (Method *other)
 
void setMethodKind (const MethodKind &kind)
 
virtual SymbolTypes symbolType () const override
 

Additional Inherited Members

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

Member Enumeration Documentation

◆ MethodKind

enum OOModel::Method::MethodKind : int
strong
Enumerator
Default 
Constructor 
Destructor 
Conversion 
OperatorOverload 

Constructor & Destructor Documentation

◆ Method() [1/4]

OOModel::Method::Method ( const QString &  name)

◆ Method() [2/4]

OOModel::Method::Method ( const QString &  name,
Modifier::Modifiers  mod 
)

◆ Method() [3/4]

OOModel::Method::Method ( const QString &  name,
MethodKind  kind 
)

◆ Method() [4/4]

OOModel::Method::Method ( const QString &  name,
Modifier::Modifiers  mod,
MethodKind  kind 
)

Member Function Documentation

◆ callees()

QSet< Method * > OOModel::Method::callees ( )

◆ callers()

QSet< Method * > OOModel::Method::callers ( )

◆ findSymbols()

bool OOModel::Method::findSymbols ( std::unique_ptr< Model::ResolutionRequest request) const
overridevirtual

◆ fullyQualifiedName()

QString OOModel::Method::fullyQualifiedName ( ) const

◆ isGeneric()

bool OOModel::Method::isGeneric ( )

◆ isNewPersistenceUnit()

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

◆ isOverridenBy()

bool OOModel::Method::isOverridenBy ( Method other)
inline

◆ isStatic()

bool OOModel::Method::isStatic ( ) const
inline

◆ methodKind()

Method::MethodKind OOModel::Method::methodKind ( ) const
inline

◆ overrides()

bool OOModel::Method::overrides ( Method other)

◆ setMethodKind()

void OOModel::Method::setMethodKind ( const MethodKind kind)
inline

◆ symbolType()

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