Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
Diff () | |
Diff (QList< GenericNode * > &nodesA, std::shared_ptr< GenericTree > treeA, QList< GenericNode * > &nodesB, std::shared_ptr< GenericTree > treeB, const GitRepository *) | |
IdToChangeDescriptionHash | changes () const |
IdToChangeDescriptionHash | changes (ChangeType type) const |
IdToChangeDescriptionHash | changes (ChangeType type, ChangeDescription::UpdateFlags flags) const |
std::shared_ptr< GenericTree > | treeA () const |
std::shared_ptr< GenericTree > | treeB () const |
Private Member Functions | |
void | computeChanges (IdToGenericNodeHash &nodesA, IdToGenericNodeHash &nodesB) |
void | computeStructChanges () |
Sets structFlag for appropriate changes and may create new changes. More... | |
void | filterPersistenceUnits (IdToGenericNodeHash &nodes) |
Removes all nodes that are used for persistent unit linking from nodes. More... | |
void | setStructureFlagForId (Model::NodeIdType id, std::shared_ptr< ChangeDescription > causingChange) |
If a change for id already exists, its structFlag is set, otherwise a new change with that flag is created. More... | |
Private Attributes | |
IdToChangeDescriptionHash | changeDescriptions_ {} |
std::shared_ptr< GenericTree > | treeA_ {} |
std::shared_ptr< GenericTree > | treeB_ {} |
FilePersistence::Diff::Diff | ( | ) |
FilePersistence::Diff::Diff | ( | QList< GenericNode * > & | nodesA, |
std::shared_ptr< GenericTree > | treeA, | ||
QList< GenericNode * > & | nodesB, | ||
std::shared_ptr< GenericTree > | treeB, | ||
const GitRepository * | |||
) |
|
inline |
IdToChangeDescriptionHash FilePersistence::Diff::changes | ( | ChangeType | type | ) | const |
IdToChangeDescriptionHash FilePersistence::Diff::changes | ( | ChangeType | type, |
ChangeDescription::UpdateFlags | flags | ||
) | const |
|
private |
|
private |
Sets structFlag for appropriate changes and may create new changes.
|
private |
Removes all nodes that are used for persistent unit linking from nodes.
|
private |
If a change for id already exists, its structFlag is set, otherwise a new change with that flag is created.
|
inline |
|
inline |
|
private |
|
private |
|
private |