#include <Defect.h>
Collaboration diagram for SctData::Defect:
Public Member Functions | |
Defect (const DefectPrototype &proto, ModuleElement element) | |
const ModuleElement & | getModuleElement () const |
Gets the module element affected by this defect. | |
const DefectPrototype & | getPrototype () const |
Get the DefectPrototype. | |
bool | operator== (const Defect &defect) const |
Compares two defects returning true if they are the same. | |
Private Attributes | |
const DefectPrototype * | prototype |
The prototype - pointer to allow assignment operator to work - points to static object so no need to delete. | |
ModuleElement | element |
The element. |
Definition at line 15 of file Defect.h.
|
Gets the module element affected by this defect.
Definition at line 23 of file Defect.h. References element. Referenced by SctData::DefectList::addDefect(). |
|
Get the DefectPrototype.
Definition at line 29 of file Defect.h. References prototype. Referenced by SctData::DefectList::addDefect(). |
|
Compares two defects returning true if they are the same.
|
|
The element.
Definition at line 39 of file Defect.h. Referenced by getModuleElement(), and operator==(). |
|
The prototype - pointer to allow assignment operator to work - points to static object so no need to delete.
Definition at line 38 of file Defect.h. Referenced by getPrototype(), and operator==(). |