LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ELseverityLevel.h"
Public Types | |
enum | ELsev_ { ELsev_noValueAssigned, ELsev_zeroSeverity, ELsev_success, ELsev_info, ELsev_warning, ELsev_error, ELsev_unspecified, ELsev_severe, ELsev_highestSeverity, nLevels } |
Public Member Functions | |
constexpr | ELseverityLevel (ELsev_ lev=ELsev_unspecified) |
ELseverityLevel (std::string const &str) | |
int | cmp (ELseverityLevel e) const |
int | getLevel () const |
std::string | getSymbol () const |
std::string | getName () const |
std::string | getInputStr () const |
std::string | getVarName () const |
Private Attributes | |
int | myLevel |
Friends | |
std::ostream & | operator<< (std::ostream &os, ELseverityLevel const sev) |
Definition at line 25 of file ELseverityLevel.h.
Enumerator | |
---|---|
ELsev_noValueAssigned | |
ELsev_zeroSeverity | |
ELsev_success | |
ELsev_info | |
ELsev_warning | |
ELsev_error | |
ELsev_unspecified | |
ELsev_severe | |
ELsev_highestSeverity | |
nLevels |
Definition at line 28 of file ELseverityLevel.h.
|
inline |
Definition at line 62 of file ELseverityLevel.h.
mf::ELseverityLevel::ELseverityLevel | ( | std::string const & | str | ) |
Definition at line 49 of file ELseverityLevel.cc.
int mf::ELseverityLevel::cmp | ( | ELseverityLevel | e | ) | const |
Definition at line 57 of file ELseverityLevel.cc.
References myLevel.
Referenced by mf::operator!=(), mf::operator<(), mf::operator<=(), mf::operator==(), mf::operator>(), and mf::operator>=().
string mf::ELseverityLevel::getInputStr | ( | ) | const |
Definition at line 141 of file ELseverityLevel.cc.
int mf::ELseverityLevel::getLevel | ( | ) | const |
Definition at line 63 of file ELseverityLevel.cc.
Referenced by mfplugins::ELsyslog::syslogLevel().
string mf::ELseverityLevel::getName | ( | ) | const |
string mf::ELseverityLevel::getSymbol | ( | ) | const |
string mf::ELseverityLevel::getVarName | ( | ) | const |
Definition at line 177 of file ELseverityLevel.cc.
|
friend |
Definition at line 213 of file ELseverityLevel.cc.
|
private |
Definition at line 59 of file ELseverityLevel.h.
Referenced by cmp().