21 static std::map<std::string,ServiceType::Type>
_table;
28 : _type(parse(strval_r))
45 std::map<std::string,ServiceType::Type>::const_iterator it
50 "Unknown service type '" + strval_r +
"'"));
58 static std::map<Type, std::string>
_table;
thrown when it was impossible to determine this repo type.
static std::map< std::string, ServiceType::Type > _table
Easy-to use interface to the ZYPP dependency resolver.
Service type enumeration.
static const ServiceType NONE
No service set.
ServiceType::Type parse(const std::string &strval_r)
const std::string & asString() const
static const ServiceType RIS
Repository Index Service (RIS) (formerly known as 'Novell Update' (NU) service)
static const ServiceType PLUGIN
Plugin services are scripts installed on your system that provide the package manager with repositori...
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.