CMS 3D CMS Logo

Public Member Functions | Public Attributes

edm::ErrorSummaryEntry Struct Reference

#include <ErrorSummaryEntry.h>

List of all members.

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.

        : category(cat)
        , module  (mod)
        , severity(sev)
        , count(cnt) {}
edm::ErrorSummaryEntry::ErrorSummaryEntry ( ) [inline]

Definition at line 49 of file ErrorSummaryEntry.h.

: category(), module(), severity(), count(0) {}

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.

                                                       {
    if (category < rhs.category) return true;
    if (category > rhs.category) return false; 
    if (module   < rhs.module)   return true;
    if (module   > rhs.module)   return false; 
    if (severity < rhs.severity) return true;
    if (severity > rhs.severity) return false; 
    if (count    < rhs.count)    return true;
    return false; 
  }
bool edm::ErrorSummaryEntry::operator== ( ErrorSummaryEntry const &  rhs) const [inline]

Definition at line 60 of file ErrorSummaryEntry.h.

References category, count, module, and severity.

                                                        {
    return ( (category < rhs.category) && (module < rhs.module)
          && (severity < rhs.severity) && (count  < rhs.count)  );
  }

Member Data Documentation

Definition at line 39 of file ErrorSummaryEntry.h.

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

Definition at line 40 of file ErrorSummaryEntry.h.

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

Definition at line 41 of file ErrorSummaryEntry.h.

Referenced by edm::LoggedErrorsOnlySummary(), operator<(), and operator==().