Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum class | ConstructKind : int { Class , Interface , Struct , Union , Enum , EnumClass , Annotation } |
Public Member Functions | |
Class (const QString &name) | |
Class (const QString &name, ConstructKind kind) | |
Class (const QString &name, Modifier::Modifiers mod, ConstructKind kind=ConstructKind::Class) | |
QSet< Class * > | allBaseClasses () |
Returns a set of all direct and transitive base classes of this class. More... | |
ConstructKind | constructKind () const |
QSet< Class * > | directBaseClasses () |
QSet< Class * > | directSubClasses () |
virtual bool | findSymbols (std::unique_ptr< Model::ResolutionRequest > request) const override |
Class * | implicitBaseFromProject () const |
bool | isGeneric () |
virtual bool | isNewPersistenceUnit () const override |
void | setConstructKind (const ConstructKind &kind) |
virtual SymbolTypes | symbolType () const override |
Static Public Member Functions | |
static Class * | expressionToClass (Expression *expr) |
Private Member Functions | |
Expression * | defaultImplicitBaseFromProject () const |
bool | findInTarget (Expression *target, std::unique_ptr< Model::ResolutionRequest > &request) const |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
|
strong |
OOModel::Class::Class | ( | const QString & | name | ) |
OOModel::Class::Class | ( | const QString & | name, |
ConstructKind | kind | ||
) |
OOModel::Class::Class | ( | const QString & | name, |
Modifier::Modifiers | mod, | ||
ConstructKind | kind = ConstructKind::Class |
||
) |
QSet< Class * > OOModel::Class::allBaseClasses | ( | ) |
Returns a set of all direct and transitive base classes of this class.
This includes interfaces and implicit base classes.
|
inline |
|
private |
QSet< Class * > OOModel::Class::directBaseClasses | ( | ) |
QSet< Class * > OOModel::Class::directSubClasses | ( | ) |
|
static |
|
inlineprivate |
|
overridevirtual |
Class * OOModel::Class::implicitBaseFromProject | ( | ) | const |
bool OOModel::Class::isGeneric | ( | ) |
|
overridevirtual |
|
inline |
|
overridevirtual |