13 template <mf::ELseverityLevel(F)()>
15 setSeverity(map<string const, mf::ELseverityLevel::ELsev_>& m,
32 map<string const, mf::ELseverityLevel::ELsev_>
const&
35 static map<string const, mf::ELseverityLevel::ELsev_> m;
50 ELseverityLevel::ELseverityLevel(
string const& s)
52 static map<string const, mf::ELseverityLevel::ELsev_>
const& m = loadMap();
54 myLevel = (i == m.end()) ? ELsev_unspecified : i->second;
64 ELseverityLevel::getLevel()
const 70 ELseverityLevel::getSymbol()
const 77 case ELsev_zeroSeverity:
92 case ELsev_unspecified:
98 case ELsev_highestSeverity:
106 ELseverityLevel::getName()
const 111 result =
"?no value?";
113 case ELsev_zeroSeverity:
128 case ELsev_unspecified:
134 case ELsev_highestSeverity:
142 ELseverityLevel::getInputStr()
const 147 result =
"?no value?";
149 case ELsev_zeroSeverity:
164 case ELsev_unspecified:
165 result =
"UNSPECIFIED";
170 case ELsev_highestSeverity:
178 ELseverityLevel::getVarName()
const 183 result =
"?no value? ";
185 case ELsev_zeroSeverity:
186 result =
"ELzeroSeverity ";
195 result =
"ELwarning ";
200 case ELsev_unspecified:
201 result =
"ELunspecified ";
204 result =
"ELsystem ";
206 case ELsev_highestSeverity:
207 result =
"ELhighestSeverity";
216 return os <<
" -" << sev.
getName() <<
"- ";
ELslProxy< ELinfoGen > constexpr ELinfo
std::string getSymbol() const
ELslProxy< ELhighestSeverityGen > constexpr ELhighestSeverity
ELslProxy< ELerrorGen > constexpr ELerror
ELslProxy< ELzeroSeverityGen > constexpr ELzeroSeverity
ELslProxy< ELwarningGen > constexpr ELwarning
Encloses LArSoft data product proxy objects and utilities.See this doxygen module for an introduction...
std::string getVarName() const
ELslProxy< ELsuccessGen > constexpr ELsuccess
std::string getName() const
ELslProxy< ELdebugGen > constexpr ELdebug
ostream & operator<<(ostream &os, ELseverityLevel const sev)
std::string getName() const
std::string getInputStr() const
ELslProxy< ELunspecifiedGen > constexpr ELunspecified
ELslProxy< ELsevereGen > constexpr ELsevere