libzypp: zypp::parser::yum::RepomdFileReader::Impl Class Reference

libzypp 17.25.10

Public Member Functions | Private Member Functions | Private Attributes | List of all members
zypp::parser::yum::RepomdFileReader::Impl Class Reference
Inheritance diagram for zypp::parser::yum::RepomdFileReader::Impl:
[legend]

## 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 RepomdFileReader.cc.

## Constructor & Destructor Documentation

## ◆ Impl()

zypp::parser::yum::RepomdFileReader::Impl::Impl | ( | const Pathname & | repomd_file,
|  | const ProcessResource & | callback
| ) |  |
| inline

Ctro taking a ProcessResource callback.

Definition at line 46 of file RepomdFileReader.cc.

## Member Function Documentation

## ◆ consumeNode()

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

Callback provided to the XML parser.

Todo:
  xpath: /repomd/open-checksum (?)

Definition at line 92 of file RepomdFileReader.cc.

## ◆ getChecksum()

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

Retrieve a checksum node.

Definition at line 61 of file RepomdFileReader.cc.

## ◆ getSize()

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

Retrieve a size node.

Definition at line 65 of file RepomdFileReader.cc.

## Member Data Documentation

## ◆ _callback

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

Function for processing collected data.

Passed-in through constructor.

Definition at line 71 of file RepomdFileReader.cc.

## ◆ _typeStr

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

The resource type string.

Definition at line 74 of file RepomdFileReader.cc.

## ◆ _location

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

Location of metadata file.

Definition at line 77 of file RepomdFileReader.cc.

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

- zypp/parser/yum/RepomdFileReader.cc