CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::ErrorSummaryEntry Struct Reference

#include <ErrorSummaryEntry.h>

Public Member Functions

 ErrorSummaryEntry (std::string const &cat, std::string const &mod, ELseverityLevel sev, unsigned int cnt=0)
 
 ErrorSummaryEntry ()
 
bool operator< (ErrorSummaryEntry const &rhs) const
 
bool operator== (ErrorSummaryEntry const &rhs) const
 

Public Attributes

std::string category
 
unsigned int count
 
std::string module
 
ELseverityLevel severity
 

Detailed Description

Definition at line 37 of file ErrorSummaryEntry.h.

Constructor & Destructor Documentation

edm::ErrorSummaryEntry::ErrorSummaryEntry ( std::string const &  cat,
std::string const &  mod,
ELseverityLevel  sev,
unsigned int  cnt = 0 
)
inline

Definition at line 42 of file ErrorSummaryEntry.h.

43  : category(cat), module(mod), severity(sev), count(cnt) {}
ELseverityLevel severity
def cat(path)
Definition: eostools.py:401
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
edm::ErrorSummaryEntry::ErrorSummaryEntry ( )
inline

Definition at line 44 of file ErrorSummaryEntry.h.

Member Function Documentation

bool edm::ErrorSummaryEntry::operator< ( ErrorSummaryEntry const &  rhs) const
inline

Definition at line 45 of file ErrorSummaryEntry.h.

References category, count, module, and severity.

45  {
46  if (category < rhs.category)
47  return true;
48  if (category > rhs.category)
49  return false;
50  if (module < rhs.module)
51  return true;
52  if (module > rhs.module)
53  return false;
54  if (severity < rhs.severity)
55  return true;
56  if (severity > rhs.severity)
57  return false;
58  if (count < rhs.count)
59  return true;
60  return false;
61  }
module()
Definition: vlib.cc:994
ELseverityLevel severity
Definition: vlib.h:208
bool edm::ErrorSummaryEntry::operator== ( ErrorSummaryEntry const &  rhs) const
inline

Definition at line 62 of file ErrorSummaryEntry.h.

References category, count, module, and severity.

62  {
63  return ((category < rhs.category) && (module < rhs.module) && (severity < rhs.severity) && (count < rhs.count));
64  }
module()
Definition: vlib.cc:994
ELseverityLevel severity
Definition: vlib.h:208

Member Data Documentation

std::string edm::ErrorSummaryEntry::category
unsigned int edm::ErrorSummaryEntry::count

Definition at line 41 of file ErrorSummaryEntry.h.

Referenced by operator<(), and operator==().

std::string edm::ErrorSummaryEntry::module
ELseverityLevel edm::ErrorSummaryEntry::severity

Definition at line 40 of file ErrorSummaryEntry.h.

Referenced by leef::ErrorSort::operator()(), operator<(), and operator==().