#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 26 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 29 of file ELseverityLevel.h.
|
inline |
Definition at line 63 of file ELseverityLevel.h.
mf::ELseverityLevel::ELseverityLevel | ( | std::string const & | str | ) |
Definition at line 50 of file ELseverityLevel.cc.
int mf::ELseverityLevel::cmp | ( | ELseverityLevel | e | ) | const |
Definition at line 58 of file ELseverityLevel.cc.
string mf::ELseverityLevel::getInputStr | ( | ) | const |
Definition at line 142 of file ELseverityLevel.cc.
int mf::ELseverityLevel::getLevel | ( | ) | const |
Definition at line 64 of file ELseverityLevel.cc.
string mf::ELseverityLevel::getName | ( | ) | const |
Definition at line 106 of file ELseverityLevel.cc.
string mf::ELseverityLevel::getSymbol | ( | ) | const |
Definition at line 70 of file ELseverityLevel.cc.
string mf::ELseverityLevel::getVarName | ( | ) | const |
Definition at line 178 of file ELseverityLevel.cc.
|
friend |
Definition at line 214 of file ELseverityLevel.cc.
|
private |
Definition at line 60 of file ELseverityLevel.h.