Public Member Functions | |
Impl (const Pathname &repoindex_file, 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 43 of file RepoindexFileReader.cc.
zypp::parser::RepoindexFileReader::Impl::Impl | ( | const Pathname & | repoindex_file, | |
const ProcessResource & | callback | |||
) |
CTOR.
Definition at line 66 of file RepoindexFileReader.cc.
References consumeNode(), zypp::xml::Reader::foreachNode(), and MIL.
bool zypp::parser::RepoindexFileReader::Impl::consumeNode | ( | Reader & | reader_r | ) |
Callback provided to the XML parser.
Definition at line 88 of file RepoindexFileReader.cc.
References _, _callback, 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 61 of file RepoindexFileReader.cc.
Referenced by consumeNode().
string zypp::parser::RepoindexFileReader::Impl::_target_distro [private] |
Definition at line 62 of file RepoindexFileReader.cc.