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

Inheritance diagram for zypp::parser::yum::RepomdFileReader::Impl:
[legend]

List of all members.

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.
bool consumeNode (Reader &reader_r)
 Callback provided to the XML parser.

Private Attributes

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


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.

References consumeNode(), zypp::xml::Reader::foreachNode(), and MIL.


Member Function Documentation

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


Member Data Documentation

Location of metadata file.

Definition at line 78 of file RepomdFileReader.cc.

Referenced by consumeNode().

Used to remember currently processed tag.

Definition at line 81 of file RepomdFileReader.cc.

Referenced by consumeNode().

Type of metadata file.

Definition at line 84 of file RepomdFileReader.cc.

Referenced by consumeNode().

Function for processing collected data.

Passed-in through constructor.

Definition at line 87 of file RepomdFileReader.cc.

Referenced by consumeNode().

Checksum of metadata file.

Definition at line 90 of file RepomdFileReader.cc.

Type of checksum of metadata file.

Definition at line 93 of file RepomdFileReader.cc.

Metadata file time-stamp.

Definition at line 96 of file RepomdFileReader.cc.


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

doxygen