#include <DefectPrototype.h>
Public Member Functions | |
string | getName () const throw () |
Gets the name of this defect. | |
string | getDescription () const throw () |
Get a human readable description for this ModuleDefect. | |
double | getParameter () const throw () |
Gets a parameter that can be used to determine if something is defective. | |
DefectSeverity | getSeverity () const throw () |
Gets the severity of this type of defect. | |
bool | operator== (const DefectPrototype &defect) const throw () |
Returns true if the prototypes are the same. | |
Private Member Functions | |
DefectPrototype (int id, DefectSeverity severity, string name, string d, double parameter) | |
Construct a DefectPrototype. | |
Static Private Member Functions | |
map< int, DefectPrototype * > & | getMap () |
static method to get the map | |
Private Attributes | |
int | id |
The internal id. | |
DefectSeverity | severity |
The level of severity. | |
string | name |
Name of the defect. | |
string | description |
The human readable description. | |
double | parameter |
A parameter for deciding if something is defective. | |
Friends | |
class | DefectIOHelper |
class | StandardDefects |
Definition at line 27 of file DefectPrototype.h.
|
Construct a DefectPrototype.
Definition at line 17 of file DefectPrototype.cpp. References description, getMap(), and parameter. |
Here is the call graph for this function:
|
Get a human readable description for this ModuleDefect.
Definition at line 37 of file DefectPrototype.h. References description. |
|
static method to get the map
Definition at line 12 of file DefectPrototype.cpp. Referenced by DefectPrototype(). |
|
Gets the name of this defect.
Definition at line 32 of file DefectPrototype.h. References name. |
|
Gets a parameter that can be used to determine if something is defective.
Definition at line 42 of file DefectPrototype.h. References parameter. |
|
Gets the severity of this type of defect.
Definition at line 47 of file DefectPrototype.h. References SctData::DefectSeverity, and severity. |
|
Returns true if the prototypes are the same.
Definition at line 52 of file DefectPrototype.h. References id. |
|
The human readable description.
Definition at line 70 of file DefectPrototype.h. Referenced by DefectPrototype(), and getDescription(). |
|
The internal id.
Definition at line 67 of file DefectPrototype.h. Referenced by operator==(). |
|
Name of the defect.
Definition at line 69 of file DefectPrototype.h. Referenced by getName(). |
|
A parameter for deciding if something is defective.
Definition at line 71 of file DefectPrototype.h. Referenced by DefectPrototype(), and getParameter(). |
|
The level of severity.
Definition at line 68 of file DefectPrototype.h. Referenced by getSeverity(). |