Service type enumeration. More...
#include <ServiceType.h>
Public Types | |
enum | Type { NONE_e, RIS_e } |
Public Member Functions | |
ServiceType () | |
ServiceType (Type type) | |
ServiceType (const std::string &strval_r) | |
Type | toEnum () const |
ServiceType::Type | parse (const std::string &strval_r) |
const std::string & | asString () const |
Public Attributes | |
Type | _type |
Static Public Attributes | |
static const ServiceType | RIS |
Repository Index Service (RIS) (formerly known as 'Novell Update' (NU) service). | |
static const ServiceType | NONE |
No service set. |
Service type enumeration.
Currently we have only RIS service, but more can come later.
Definition at line 26 of file ServiceType.h.
Definition at line 36 of file ServiceType.h.
zypp::repo::ServiceType::ServiceType | ( | ) | [inline] |
Definition at line 42 of file ServiceType.h.
zypp::repo::ServiceType::ServiceType | ( | Type | type | ) | [inline] |
Definition at line 44 of file ServiceType.h.
zypp::repo::ServiceType::ServiceType | ( | const std::string & | strval_r | ) | [explicit] |
Definition at line 22 of file ServiceType.cc.
Type zypp::repo::ServiceType::toEnum | ( | ) | const [inline] |
Definition at line 48 of file ServiceType.h.
References _type.
ServiceType::Type zypp::repo::ServiceType::parse | ( | const std::string & | strval_r | ) |
Definition at line 26 of file ServiceType.cc.
const std::string & zypp::repo::ServiceType::asString | ( | ) | const |
Definition at line 49 of file ServiceType.cc.
Referenced by zypp::repo::operator<<().
const ServiceType zypp::repo::ServiceType::RIS [static] |
Repository Index Service (RIS) (formerly known as 'Novell Update' (NU) service).
Definition at line 32 of file ServiceType.h.
Referenced by zypp::RepoManager::probeService().
const ServiceType zypp::repo::ServiceType::NONE [static] |
No service set.
Definition at line 34 of file ServiceType.h.
Referenced by zypp::RepoManager::probeService(), zypp::RepoManager::refreshService(), and zypp::ServiceInfo::Impl::setProbedType().
Definition at line 54 of file ServiceType.h.
Referenced by zypp::repo::operator==(), and toEnum().