29 const std::map<std::string,Dep::for_use_in_switch>
_table = {
42 if ( it == _table.end() )
44 ZYPP_THROW( Exception(
"Dep parse: illegal string value '"+strval_r+
"'") );
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>";
Dep(const std::string &strval_r)
Ctor from string.
static const Dep RECOMMENDS
static const Dep SUPPLEMENTS
static const Dep CONFLICTS
for_use_in_switch
Enumarators provided only for use inSwitch statement.
static std::map< std::string, ServiceType::Type > _table
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
static const Dep SUGGESTS
static const Dep ENHANCES
std::string asUserString() const
Translated dependency type (capitalized).
static const Dep REQUIRES
static const Dep PROVIDES
std::string toLower(const std::string &s)
Return lowercase version of s.
const std::string & asString() const
String representation of dependency type.
static const Dep OBSOLETES
for_use_in_switch inSwitch() const
Enumarator provided for use in switch statement.
static const Dep PREREQUIRES
for_use_in_switch _type
The operator.