Contructs a new LinklerDiff. Important to note, this hands ownership of the two Linklers to linkler diff. That means that LinklerDiff will now take responsibility to free them.
@param Linkler* current pointer to current Linkler
@param Linkler* new_ pointer to new Linkler to make a Diff with
Copy constructor, performs a deep copy on the Linklers in the datastructres in the datastructre
LinklerDiff::~LinklerDiff |
( |
| ) |
|
Destructor, clears the sets in this class
bool LinklerDiff::added |
( |
SWU * |
swu | ) |
|
|
virtual |
Checks if the specified swu has been added between 2 linklers
- Parameters
-
- Returns
- bool
Implements Diff.
bool LinklerDiff::added |
( |
Module * |
module | ) |
|
|
virtual |
Checks if the specified module has been added between 2 linklers
- Parameters
-
Module* | module module pointer |
- Returns
- bool
Implements Diff.
Checks if the specified swu dependency has been added between 2 linklers
- Parameters
-
Dependency<SWU,SWU>* | swu_dep swu dependency pointer |
- Returns
- bool
Implements Diff.
Checks if the specified swu has been added between 2 linklers
- Parameters
-
Dependency<Module,Module>* | mod_dep module dependency pointer |
- Returns
- bool
Implements Diff.
ModDependencySet * LinklerDiff::introduced_module_dependencies |
( |
| ) |
|
Accessor for introduced_module_dependencies set
- Returns
- ModDependencySet* pointer to set of dependencies
ModuleSet * LinklerDiff::introduced_modules |
( |
| ) |
|
Accessor for introduced_modules set
- Returns
- ModuleSet* pointer to set of modules
SwuDependencySet * LinklerDiff::introduced_swu_dependencies |
( |
| ) |
|
Accessor for introduced_swu_dependencies set
- Returns
- ModDependencySet* pointer to set of swu dependencies
SWUSet * LinklerDiff::introduced_swus |
( |
| ) |
|
Accessor for introduced_swus set
- Returns
- SWUSet* pointer to set of swus
Merges the current and new linklers of this class into a combined Linkler.
- Returns
- Linkler* a merged linkler with both added and removed mouldes/swus/dependencies
Implements Diff.
bool LinklerDiff::removed |
( |
SWU * |
swu | ) |
|
|
virtual |
Checks if the specified swu has been removed between 2 linklers
- Parameters
-
- Returns
- bool
Implements Diff.
bool LinklerDiff::removed |
( |
Module * |
module | ) |
|
|
virtual |
Checks if the specified module has been removed between 2 linklers
- Parameters
-
Module* | module module pointer |
- Returns
- bool
Implements Diff.
Checks if the specified swu dependency has been removed between 2 linklers
- Parameters
-
Dependency<SWU,SWU>* | swu_dep swu dependency pointer |
- Returns
- bool
Implements Diff.
Checks if the specified module dependency has been removed between 2 linklers
- Parameters
-
Dependency<Module,Module>* | mod_dep module dependency pointer |
- Returns
- bool
Implements Diff.
ModDependencySet * LinklerDiff::removed_module_dependencies |
( |
| ) |
|
Accessor for removed_module_dependencies set
- Returns
- ModDependencySet* pointer to set of module dependencies
ModuleSet * LinklerDiff::removed_modules |
( |
| ) |
|
Accessor for removed_modules set
- Returns
- ModuleSet* pointer to set of modules
SwuDependencySet * LinklerDiff::removed_swu_dependencies |
( |
| ) |
|
Accessor for introduced_swu_dependencies set
- Returns
- ModDependencySet* pointer to set of swu dependencies
SWUSet * LinklerDiff::removed_swus |
( |
| ) |
|
Accessor for removed_swus set
- Returns
- SWUSet* pointer to set of swus
void LinklerDiff::set_difference_module_dependencies |
( |
| ) |
|
Checks difference in module dependencies between 2 Linklers. Modifies introduced_/removed_module_dependencies.
void LinklerDiff::set_difference_modules |
( |
| ) |
|
Checks difference in modules between 2 Linklers. Modifies introduced_/removed_modules.
void LinklerDiff::set_difference_swu_dependencies |
( |
| ) |
|
Checks difference in swu dependencies between 2 Linklers. Modifies introduced_/removed_swu_dependencies.
void LinklerDiff::set_difference_swus |
( |
| ) |
|
Checks difference in swus between 2 Linklers. Modifies introduced_/removed_swus.
The documentation for this class was generated from the following files: