#include <ModuleDefectList.h>
Inheritance diagram for SctData::ModuleDefectList:
Public Member Functions | |
ModuleDefectList () throw () | |
Create a new empty ModuleDefects object. | |
virtual | ~ModuleDefectList () throw () |
Destructor deletes all ModuleDefect objects as we own them. | |
void | addDefect (const ModuleDefect &prototype, const ModuleElement &element) throw () |
Add a defect. | |
const vector< shared_ptr< const ModuleDefect > > & | getAllDefects () const throw () |
Get all defects in the ModuleDefectList. | |
shared_ptr< ModuleDefectList > | getDefectsAffectingElement (const ModuleElement &) const throw (LogicError) |
Methods enquiring as to defects on ANY PART of a module element. | |
int | getNDefectsAffectingElement (const ModuleElement &) const throw (LogicError) |
bool | severeDefectAffectingElement (const ModuleElement &) const throw (LogicError) |
check for severe defects. | |
bool | defectAffectingElement (const ModuleElement &) const throw (LogicError) |
check for any defects. | |
bool | defectAffectingElement (const ModuleElement &, const ModuleDefect &) const throw (LogicError) |
check for defects of a particular type. | |
virtual string | getClassName () const throw () |
Streamable override. | |
ModuleDefectList & | operator+= (const ModuleDefectList &) throw () |
Add defects from another list. | |
ostream & | print (ostream &out) const throw () |
print the defects: | |
shared_ptr< ModuleDefectList > | getDefectsEncompassingElement (const ModuleElement &) const throw (LogicError) |
get all defects who contain the element | |
int | getNDefectsEncompassingElement (const ModuleElement &) const throw (LogicError) |
number of defects inside element. | |
bool | severeDefectEncompassingElement (const ModuleElement &) const throw (LogicError) |
check for severe defects. | |
bool | defectEncompassingElement (const ModuleElement &) const throw (LogicError) |
check for any defects. | |
bool | defectEncompassingElement (const ModuleElement &, const ModuleDefect &) const throw (LogicError) |
check for defects of a particular type. | |
Private Member Functions | |
void | add (shared_ptr< const ModuleDefect >) throw () |
Private Attributes | |
vector< shared_ptr< const ModuleDefect > > | defectList |
All defects allow this class to share its defects with ModuleDefectLists it creates. |
It is essentially a map of channel number to a collection of ModuleDefect s.
Definition at line 25 of file ModuleDefectList.h.
|
Create a new empty ModuleDefects object.
Definition at line 7 of file ModuleDefectList.cpp. |
|
Destructor deletes all ModuleDefect objects as we own them.
Definition at line 10 of file ModuleDefectList.cpp. |
|
Definition at line 16 of file ModuleDefectList.cpp. |
|
Add a defect.
Definition at line 12 of file ModuleDefectList.cpp. Referenced by SctData::IO::ModuleDefectListStreamer::read(). |
|
check for defects of a particular type.
Definition at line 72 of file ModuleDefectList.cpp. |
|
check for any defects.
Definition at line 88 of file ModuleDefectList.cpp. |
|
check for defects of a particular type.
Definition at line 80 of file ModuleDefectList.cpp. |
|
check for any defects.
Definition at line 95 of file ModuleDefectList.cpp. Referenced by SctData::TestSummary::NPtGainSummaryWriter::write(). |
|
Get all defects in the ModuleDefectList.
Definition at line 39 of file ModuleDefectList.cpp. Referenced by SctData::IO::ModuleDefectListStreamer::write(). |
|
Streamable override.
Implements Sct::Streamable. Definition at line 118 of file ModuleDefectList.cpp. |
|
Methods enquiring as to defects on ANY PART of a module element. Get all the defects affecting a given channel.
Definition at line 102 of file ModuleDefectList.cpp. |
|
get all defects who contain the element
Definition at line 110 of file ModuleDefectList.cpp. |
|
Definition at line 43 of file ModuleDefectList.cpp. |
|
number of defects inside element.
Definition at line 50 of file ModuleDefectList.cpp. |
|
Add defects from another list.
Definition at line 20 of file ModuleDefectList.cpp. |
|
print the defects:
Definition at line 27 of file ModuleDefectList.cpp. |
|
check for severe defects.
Definition at line 58 of file ModuleDefectList.cpp. |
|
check for severe defects.
Definition at line 65 of file ModuleDefectList.cpp. |
|
All defects allow this class to share its defects with ModuleDefectLists it creates.
Definition at line 93 of file ModuleDefectList.h. |