|
libzypp
15.24.2
|
#include <MetaLinkParser.h>

Public Member Functions | |
| MetaLinkParser () | |
| ~MetaLinkParser () | |
| void | parse (const Pathname &filename) |
| parse a file consisting of metalink xml data More... | |
| void | parse (const InputStream &is) |
| parse an InputStream consisting of metalink xml data More... | |
| void | parseBytes (const char *bytes, size_t len) |
| parse a chunk of a file consisting of metalink xml data. More... | |
| void | parseEnd () |
| tells the parser that all chunks are now processed More... | |
| std::vector< Url > | getUrls () |
| return the download urls from the parsed metalink data More... | |
| MediaBlockList | getBlockList () |
| return the block list from the parsed metalink data More... | |
Private Attributes | |
| struct ml_parsedata * | pd |
Definition at line 28 of file MetaLinkParser.h.
| zypp::media::MetaLinkParser::MetaLinkParser | ( | ) |
Definition at line 407 of file MetaLinkParser.cc.
| zypp::media::MetaLinkParser::~MetaLinkParser | ( | ) |
Definition at line 411 of file MetaLinkParser.cc.
| void zypp::media::MetaLinkParser::parse | ( | const Pathname & | filename | ) |
parse a file consisting of metalink xml data
| Exception |
Definition at line 417 of file MetaLinkParser.cc.
| void zypp::media::MetaLinkParser::parse | ( | const InputStream & | is | ) |
parse an InputStream consisting of metalink xml data
| Exception |
Definition at line 423 of file MetaLinkParser.cc.
| void zypp::media::MetaLinkParser::parseBytes | ( | const char * | bytes, |
| size_t | len | ||
| ) |
parse a chunk of a file consisting of metalink xml data.
| Exception |
Definition at line 437 of file MetaLinkParser.cc.
| void zypp::media::MetaLinkParser::parseEnd | ( | ) |
tells the parser that all chunks are now processed
| Exception |
Definition at line 451 of file MetaLinkParser.cc.
| std::vector< Url > zypp::media::MetaLinkParser::getUrls | ( | ) |
return the download urls from the parsed metalink data
Definition at line 460 of file MetaLinkParser.cc.
| MediaBlockList zypp::media::MetaLinkParser::getBlockList | ( | ) |
return the block list from the parsed metalink data
Definition at line 470 of file MetaLinkParser.cc.
|
private |
Definition at line 66 of file MetaLinkParser.h.