libzypp  10.5.0
zypp::media::ZsyncParser Class Reference

#include <ZsyncParser.h>

Inheritance diagram for zypp::media::ZsyncParser:

List of all members.

Public Member Functions

 ZsyncParser ()
void parse (std::string filename)
 parse a file consisting of zlink data
std::vector< UrlgetUrls ()
 return the download urls from the parsed metalink data
MediaBlockList getBlockList ()
 return the block list from the parsed metalink data

Private Attributes

off_t filesize
size_t blksize
int sql
int rsl
int csl
MediaBlockList bl
std::vector< std::string > urls

Detailed Description

Definition at line 25 of file ZsyncParser.h.


Constructor & Destructor Documentation

zypp::media::ZsyncParser::ZsyncParser ( )

Definition at line 31 of file ZsyncParser.cc.


Member Function Documentation

void zypp::media::ZsyncParser::parse ( std::string  filename)

parse a file consisting of zlink data

Exceptions:
Exception
std::vector< Url > zypp::media::ZsyncParser::getUrls ( )

return the download urls from the parsed metalink data

Definition at line 129 of file ZsyncParser.cc.

MediaBlockList zypp::media::ZsyncParser::getBlockList ( )

return the block list from the parsed metalink data

Definition at line 139 of file ZsyncParser.cc.


Member Data Documentation

Definition at line 44 of file ZsyncParser.h.

Definition at line 45 of file ZsyncParser.h.

Definition at line 46 of file ZsyncParser.h.

Definition at line 47 of file ZsyncParser.h.

Definition at line 48 of file ZsyncParser.h.

Definition at line 49 of file ZsyncParser.h.

std::vector<std::string> zypp::media::ZsyncParser::urls [private]

Definition at line 50 of file ZsyncParser.h.


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