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

Public Types

enum  Tag {
  tag_NONE, tag_Repomd, tag_Data, tag_Location,
  tag_CheckSum, tag_Timestamp, tag_OpenCheckSum
}
 Enumeration of repomd.xml tags. More...
 

Public Member Functions

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

Private Attributes

OnMediaLocation _location
 Location of metadata file. More...
 
Tag _tag
 Used to remember currently processed tag. More...
 
repo::yum::ResourceType _type
 Type of metadata file. More...
 
ProcessResource _callback
 Function for processing collected data. More...
 
CheckSum _checksum
 Checksum of metadata file. More...
 
std::string _checksum_type
 Type of checksum of metadata file. More...
 
Date _timestamp
 Metadata file time-stamp. More...
 

Detailed Description

Definition at line 43 of file RepomdFileReader.cc.

Member Enumeration Documentation

Enumeration of repomd.xml tags.

See Also
_tag
Enumerator
tag_NONE 
tag_Repomd 
tag_Data 
tag_Location 
tag_CheckSum 
tag_Timestamp 
tag_OpenCheckSum 

Definition at line 51 of file RepomdFileReader.cc.

Constructor & Destructor Documentation

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

CTOR.

See Also
RepomdFileReader::RepomdFileReader(Pathname,ProcessResource)

Definition at line 100 of file RepomdFileReader.cc.

Member Function Documentation

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

Callback provided to the XML parser.

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

Definition at line 123 of file RepomdFileReader.cc.

Member Data Documentation

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

Location of metadata file.

Definition at line 78 of file RepomdFileReader.cc.

Tag zypp::parser::yum::RepomdFileReader::Impl::_tag
private

Used to remember currently processed tag.

Definition at line 81 of file RepomdFileReader.cc.

repo::yum::ResourceType zypp::parser::yum::RepomdFileReader::Impl::_type
private

Type of metadata file.

Definition at line 84 of file RepomdFileReader.cc.

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

Function for processing collected data.

Passed-in through constructor.

Definition at line 87 of file RepomdFileReader.cc.

CheckSum zypp::parser::yum::RepomdFileReader::Impl::_checksum
private

Checksum of metadata file.

Definition at line 90 of file RepomdFileReader.cc.

std::string zypp::parser::yum::RepomdFileReader::Impl::_checksum_type
private

Type of checksum of metadata file.

Definition at line 93 of file RepomdFileReader.cc.

Date zypp::parser::yum::RepomdFileReader::Impl::_timestamp
private

Metadata file time-stamp.

Definition at line 96 of file RepomdFileReader.cc.


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