GraphTool  1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Member Functions | List of all members
LinklerDiff Class Reference
Inheritance diagram for LinklerDiff:
Inheritance graph
[legend]
Collaboration diagram for LinklerDiff:
Collaboration graph
[legend]

Public Member Functions

 LinklerDiff (Linkler *current, Linkler *new_)
 
 LinklerDiff (LinklerDiff &linklerDiff)
 
 ~LinklerDiff ()
 
void set_difference_modules ()
 
void set_difference_swus ()
 
void set_difference_module_dependencies ()
 
void set_difference_swu_dependencies ()
 
ModuleSet * introduced_modules ()
 
ModuleSet * removed_modules ()
 
SWUSet * introduced_swus ()
 
SWUSet * removed_swus ()
 
ModDependencySet * introduced_module_dependencies ()
 
ModDependencySet * removed_module_dependencies ()
 
SwuDependencySet * introduced_swu_dependencies ()
 
SwuDependencySet * removed_swu_dependencies ()
 
bool added (SWU *swu)
 
bool added (Module *module)
 
bool added (Dependency< SWU, SWU > *swu_dep)
 
bool added (Dependency< Module, Module > *mod_dep)
 
bool removed (SWU *swu)
 
bool removed (Module *module)
 
bool removed (Dependency< SWU, SWU > *swu_dep)
 
bool removed (Dependency< Module, Module > *mod_dep)
 
Linklermerge ()
 

Constructor & Destructor Documentation

LinklerDiff::LinklerDiff ( Linkler current,
Linkler new_ 
)

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
LinklerDiff::LinklerDiff ( LinklerDiff linklerDiff)

Copy constructor, performs a deep copy on the Linklers in the datastructres in the datastructre

LinklerDiff::~LinklerDiff ( )

Destructor, clears the sets in this class

Member Function Documentation

bool LinklerDiff::added ( SWU swu)
virtual

Checks if the specified swu has been added between 2 linklers

Parameters
SWU*swu swu pointer
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.

bool LinklerDiff::added ( Dependency< SWU, SWU > *  swu_dep)
virtual

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.

bool LinklerDiff::added ( Dependency< Module, Module > *  mod_dep)
virtual

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
Linkler * LinklerDiff::merge ( )
virtual

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
SWU*swu swu pointer
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.

bool LinklerDiff::removed ( Dependency< SWU, SWU > *  swu_dep)
virtual

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.

bool LinklerDiff::removed ( Dependency< Module, Module > *  mod_dep)
virtual

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: