zypp::media::ZsyncParser Class Reference

#include <ZsyncParser.h>

Inheritance diagram for zypp::media::ZsyncParser:

Inheritance graph
[legend]

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.

References blksize, csl, filesize, rsl, and sql.


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.

References urls.

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

return the block list from the parsed metalink data

Definition at line 139 of file ZsyncParser.cc.

References bl.


Member Data Documentation

Definition at line 44 of file ZsyncParser.h.

Referenced by ZsyncParser().

Definition at line 45 of file ZsyncParser.h.

Referenced by ZsyncParser().

Definition at line 46 of file ZsyncParser.h.

Referenced by ZsyncParser().

Definition at line 47 of file ZsyncParser.h.

Referenced by ZsyncParser().

Definition at line 48 of file ZsyncParser.h.

Referenced by ZsyncParser().

Definition at line 49 of file ZsyncParser.h.

Referenced by getBlockList().

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

Definition at line 50 of file ZsyncParser.h.

Referenced by getUrls().


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

Generated on Tue May 5 14:49:42 2015 for libzypp by  doxygen 1.5.6