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 43 of file ErrorSummaryEntry.h.

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

Definition at line 49 of file ErrorSummaryEntry.h.

Member Function Documentation

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

Definition at line 50 of file ErrorSummaryEntry.h.

References category, count, module, and severity.

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

Definition at line 60 of file ErrorSummaryEntry.h.

References category, count, module, and severity.

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

Member Data Documentation

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