29 const std::map<std::string,Dep::for_use_in_switch> _table = {
42 if ( it == _table.end() )
68 :
_type( parse( strval_r ) )
78 static const std::map<for_use_in_switch,std::string> _table = {
89 return _table.at(
_type);
106 return "<missing translation>";
Base class for Exception.
void parse(const C_Str &spec_r)
Parse and add spec from a string (IDENT or provides:CAPABILITY`).
std::string toLower(const std::string &s)
Return lowercase version of s.
Easy-to use interface to the ZYPP dependency resolver.
Enumeration class of dependency types.
std::string asUserString() const ZYPP_API
Translated dependency type (capitalized).
for_use_in_switch
Enumarators provided only for use inSwitch statement.
for_use_in_switch _type
The operator.
for_use_in_switch inSwitch() const
Enumarator provided for use in switch statement.
const std::string & asString() const ZYPP_API
String representation of dependency type.
Dep(const std::string &strval_r)
Ctor from string.
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.