Envision
A visual programming IDE for object-oriented languages
|
produced when cloning a tree. More...
Public Member Functions | |
void | add (Model::Node *original, Model::Node *clone) |
Model::Node * | clone (Model::Node *original) |
QList< Model::Node * > | clone (QList< Model::Node * > originals) |
Model::Node * | original (Model::Node *clone) |
QList< Model::Node * > | original (QList< Model::Node * > clones) |
void | replaceClone (Model::Node *old, Model::Node *replacement) |
Private Attributes | |
QHash< Model::Node *, Model::Node * > | clones_ |
QHash< Model::Node *, Model::Node * > | originals_ |
produced when cloning a tree.
maps from nodes in the original tree to their cloned versions and back.
void CppImport::NodeToCloneMap::add | ( | Model::Node * | original, |
Model::Node * | clone | ||
) |
Model::Node * CppImport::NodeToCloneMap::clone | ( | Model::Node * | original | ) |
QList< Model::Node * > CppImport::NodeToCloneMap::clone | ( | QList< Model::Node * > | originals | ) |
Model::Node * CppImport::NodeToCloneMap::original | ( | Model::Node * | clone | ) |
QList< Model::Node * > CppImport::NodeToCloneMap::original | ( | QList< Model::Node * > | clones | ) |
void CppImport::NodeToCloneMap::replaceClone | ( | Model::Node * | old, |
Model::Node * | replacement | ||
) |
|
private |
|
private |