#include <RepoType.h>
Public Types | |
enum | Type { NONE_e, RPMMD_e, YAST2_e, RPMPLAINDIR_e } |
Public Member Functions | |
RepoType () | |
RepoType (Type type) | |
RepoType (const std::string &strval_r) | |
Type | toEnum () const |
RepoType::Type | parse (const std::string &strval_r) |
const std::string & | asString () const |
Public Attributes | |
Type | _type |
Static Public Attributes | |
static const RepoType | RPMMD |
static const RepoType | YAST2 |
static const RepoType | RPMPLAINDIR |
static const RepoType | NONE |
Repositories can be from varous types ...
Definition at line 27 of file RepoType.h.
zypp::repo::RepoType::RepoType | ( | ) | [inline] |
Definition at line 42 of file RepoType.h.
zypp::repo::RepoType::RepoType | ( | Type | type | ) | [inline] |
Definition at line 44 of file RepoType.h.
zypp::repo::RepoType::RepoType | ( | const std::string & | strval_r | ) | [explicit] |
Definition at line 27 of file RepoType.cc.
Type zypp::repo::RepoType::toEnum | ( | ) | const [inline] |
Definition at line 48 of file RepoType.h.
References _type.
Referenced by zypp::RepoManager::buildCache(), zypp::RepoManager::checkIfToRefreshMetadata(), zypp::RepoManager::metadataStatus(), zypp::RepoManager::refreshMetadata(), and zypp::RepoManager::touchIndexFile().
RepoType::Type zypp::repo::RepoType::parse | ( | const std::string & | strval_r | ) |
Definition at line 31 of file RepoType.cc.
References zypp::repo::_table, NONE_e, RPMMD_e, RPMPLAINDIR_e, YAST2_e, and ZYPP_THROW.
const std::string & zypp::repo::RepoType::asString | ( | ) | const |
Definition at line 73 of file RepoType.cc.
References zypp::repo::_table, _type, NONE_e, RPMMD_e, RPMPLAINDIR_e, and YAST2_e.
Referenced by zypp::RepoInfo::dumpAsIniOn(), zypp::RepoInfo::dumpAsXMLOn(), and zypp::repo::operator<<().
const RepoType zypp::repo::RepoType::RPMMD [static] |
const RepoType zypp::repo::RepoType::YAST2 [static] |
const RepoType zypp::repo::RepoType::RPMPLAINDIR [static] |
Definition at line 31 of file RepoType.h.
Referenced by zypp::misc::defaultLoadSystem(), and zypp::RepoManager::probe().
const RepoType zypp::repo::RepoType::NONE [static] |
Definition at line 32 of file RepoType.h.
Referenced by zypp::RepoInfo::dumpAsXMLOn(), zypp::RepoManager::probe(), and zypp::RepoInfo::Impl::setProbedType().
Definition at line 54 of file RepoType.h.
Referenced by asString(), zypp::repo::operator==(), and toEnum().