Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
AttributeChain (const QString &typeName, AttributeChain *parentChain) | |
QVector< CompositeIndex > & | addExtension (int extensionId) |
const Attribute & | attribute (const CompositeIndex &index) const |
const QVector< CompositeIndex > & | extension (int extensionId) const |
bool | hasAttribute (const QString &name) const |
bool | hasExtensionInHierarchy (int extensionId) const |
CompositeIndex | indexForAttribute (const QString &name) const |
AttributeChain * | level (int level) const |
int | numLevels () const |
AttributeChain * | parent () |
int | recursiveSize () const |
const QString & | typeName () const |
Private Member Functions | |
AttributeChain (const QString &typeName) | |
Only for CompositeNode. More... | |
Private Attributes | |
QMap< int, QVector< CompositeIndex > > | extensions_ |
int | numLevels_ {1} |
The number of levels of attributes, including this one. More... | |
AttributeChain * | parent_ {} |
QString | typeName_ |
Friends | |
class | CompositeNode |
|
private |
Only for CompositeNode.
Model::AttributeChain::AttributeChain | ( | const QString & | typeName, |
AttributeChain * | parentChain | ||
) |
QVector< CompositeIndex > & Model::AttributeChain::addExtension | ( | int | extensionId | ) |
const Attribute & Model::AttributeChain::attribute | ( | const CompositeIndex & | index | ) | const |
const QVector< CompositeIndex > & Model::AttributeChain::extension | ( | int | extensionId | ) | const |
bool Model::AttributeChain::hasAttribute | ( | const QString & | name | ) | const |
bool Model::AttributeChain::hasExtensionInHierarchy | ( | int | extensionId | ) | const |
CompositeIndex Model::AttributeChain::indexForAttribute | ( | const QString & | name | ) | const |
AttributeChain * Model::AttributeChain::level | ( | int | level | ) | const |
int Model::AttributeChain::numLevels | ( | ) | const |
AttributeChain * Model::AttributeChain::parent | ( | ) |
int Model::AttributeChain::recursiveSize | ( | ) | const |
const QString & Model::AttributeChain::typeName | ( | ) | const |
|
friend |
|
private |
|
private |
The number of levels of attributes, including this one.
|
private |
|
private |