#include <Defect.h>
Collaboration diagram for SctData::Defect:
Public Member Functions | |
Defect (const DefectPrototype &proto, ModuleElement element, boost::optional< double > opt_par=boost::optional< double >::optional()) | |
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. | |
bool | operator!= (const Defect &defect) const |
Compares two defects returning true if they are differenct. | |
boost::optional< double > | getParameter () const |
Return optional parameter. | |
void | setParameter (double param) |
Set optional parameter. | |
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. | |
boost::optional< double > | opt_par |
Bilge Demirkoz
Definition at line 20 of file Defect.h.
|
Gets the module element affected by this defect.
Definition at line 20 of file Defect.cpp. References element. Referenced by SctData::DefectList::addDefect(). |
|
Return optional parameter. BD Definition at line 37 of file Defect.cpp. References opt_par. |
|
Get the DefectPrototype.
Definition at line 24 of file Defect.cpp. References prototype. Referenced by SctData::DefectList::addDefect(). |
|
Compares two defects returning true if they are differenct.
Definition at line 32 of file Defect.cpp. |
|
Compares two defects returning true if they are the same.
Definition at line 28 of file Defect.cpp. |
|
Set optional parameter.
Definition at line 42 of file Defect.cpp. References opt_par. |
|
The element.
Definition at line 58 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 57 of file Defect.h. Referenced by getPrototype(), and operator==(). |