libzypp  17.23.8
zypp::parser::yum::RepomdFileReader::Impl Class Reference
Inheritance diagram for zypp::parser::yum::RepomdFileReader::Impl:

Public Member Functions

 Impl (const Pathname &repomd_file, const ProcessResource &callback)
 Ctro taking a ProcessResource callback. More...
bool consumeNode (Reader &reader_r)
 Callback provided to the XML parser. More...

Private Member Functions

CheckSum getChecksum (Reader &reader_r)
 Retrieve a checksum node. More...
ByteCount getSize (Reader &reader_r)
 Retrieve a size node. More...

Private Attributes

ProcessResource _callback
 Function for processing collected data. More...
std::string _typeStr
 The resource type string. More...
OnMediaLocation _location
 Location of metadata file. More...

Detailed Description

Definition at line 42 of file

Constructor & Destructor Documentation

◆ Impl()

zypp::parser::yum::RepomdFileReader::Impl::Impl ( const Pathname repomd_file,
const ProcessResource callback 

Ctro taking a ProcessResource callback.

Definition at line 46 of file

Member Function Documentation

◆ consumeNode()

bool zypp::parser::yum::RepomdFileReader::Impl::consumeNode ( Reader reader_r)

Callback provided to the XML parser.

xpath: /repomd/open-checksum (?)

Definition at line 92 of file

◆ getChecksum()

CheckSum zypp::parser::yum::RepomdFileReader::Impl::getChecksum ( Reader reader_r)

Retrieve a checksum node.

Definition at line 61 of file

◆ getSize()

ByteCount zypp::parser::yum::RepomdFileReader::Impl::getSize ( Reader reader_r)

Retrieve a size node.

Definition at line 65 of file

Member Data Documentation

◆ _callback

ProcessResource zypp::parser::yum::RepomdFileReader::Impl::_callback

Function for processing collected data.

Passed-in through constructor.

Definition at line 71 of file

◆ _typeStr

std::string zypp::parser::yum::RepomdFileReader::Impl::_typeStr

The resource type string.

Definition at line 74 of file

◆ _location

OnMediaLocation zypp::parser::yum::RepomdFileReader::Impl::_location

Location of metadata file.

Definition at line 77 of file

The documentation for this class was generated from the following file: