12 template <mf::ELseverityLevel(F)()>
14 setSeverity(map<string const, mf::ELseverityLevel::ELsev_>& m,
31 map<string const, mf::ELseverityLevel::ELsev_>
const&
34 static map<string const, mf::ELseverityLevel::ELsev_> m;
49 ELseverityLevel::ELseverityLevel(
string const&
s)
51 static map<string const, mf::ELseverityLevel::ELsev_>
const& m = loadMap();
53 myLevel = (i == m.end()) ? ELsev_unspecified : i->second;
63 ELseverityLevel::getLevel()
const 69 ELseverityLevel::getSymbol()
const 76 case ELsev_zeroSeverity:
91 case ELsev_unspecified:
97 case ELsev_highestSeverity:
105 ELseverityLevel::getName()
const 110 result =
"?no value?";
112 case ELsev_zeroSeverity:
127 case ELsev_unspecified:
133 case ELsev_highestSeverity:
141 ELseverityLevel::getInputStr()
const 146 result =
"?no value?";
148 case ELsev_zeroSeverity:
163 case ELsev_unspecified:
164 result =
"UNSPECIFIED";
169 case ELsev_highestSeverity:
177 ELseverityLevel::getVarName()
const 182 result =
"?no value? ";
184 case ELsev_zeroSeverity:
185 result =
"ELzeroSeverity ";
194 result =
"ELwarning ";
199 case ELsev_unspecified:
200 result =
"ELunspecified ";
203 result =
"ELsystem ";
205 case ELsev_highestSeverity:
206 result =
"ELhighestSeverity";
215 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