27 std::map<std::string,Dep::for_use_in_switch>
_table;
45 std::map<std::string,Dep::for_use_in_switch>::const_iterator it
47 if ( it == _table.end() )
49 ZYPP_THROW( Exception(
"Dep parse: illegal string value '"+strval_r+
"'") );
73 : _type( parse( strval_r ) )
83 static std::map<for_use_in_switch,std::string>
_table;
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
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
static const Dep PREREQUIRES
for_use_in_switch _type
The operator.