libzypp 8.13.6
|
Public Member Functions | |
Impl (const InputStream &is, const ProcessResource &callback) | |
CTOR. | |
bool | consumeNode (Reader &reader_r) |
Callback provided to the XML parser. | |
Private Attributes | |
ProcessResource | _callback |
Function for processing collected data. | |
string | _target_distro |
Definition at line 45 of file RepoindexFileReader.cc.
zypp::parser::RepoindexFileReader::Impl::Impl | ( | const InputStream & | is, |
const ProcessResource & | callback | ||
) |
CTOR.
Definition at line 68 of file RepoindexFileReader.cc.
References consumeNode(), zypp::xml::Reader::foreachNode(), MIL, and zypp::InputStream::path().
bool zypp::parser::RepoindexFileReader::Impl::consumeNode | ( | Reader & | reader_r | ) |
Callback provided to the XML parser.
Definition at line 90 of file RepoindexFileReader.cc.
References _, zypp::xml::XmlString::asString(), DBG, zypp::str::form(), zypp::xml::XmlString::get(), zypp::repo::RepoInfoBase::setAlias(), zypp::repo::RepoInfoBase::setAutorefresh(), zypp::RepoInfo::setBaseUrl(), zypp::repo::RepoInfoBase::setEnabled(), zypp::repo::RepoInfoBase::setName(), zypp::RepoInfo::setPath(), zypp::RepoInfo::setPriority(), zypp::RepoInfo::setTargetDistribution(), zypp::RepoInfo::setType(), and zypp::str::strToTrue().
Referenced by Impl().
Function for processing collected data.
Passed-in through constructor.
Definition at line 63 of file RepoindexFileReader.cc.
string zypp::parser::RepoindexFileReader::Impl::_target_distro [private] |
Definition at line 64 of file RepoindexFileReader.cc.