Parse repoindex part from a content
file.
More...
#include <ContentFileReader.h>
List of all members.
Protected Member Functions |
virtual void | beginParse () |
| Called when start parsing.
|
virtual void | endParse () |
| Called when the parse is done.
|
virtual void | userRequestedAbort (unsigned lineNo_r) |
| Called when user(callback) request to abort.
|
std::string | errPrefix (unsigned lineNo_r, const std::string &msg_r=std::string(), const std::string &line_r="-") const |
| Prefix exception message with line information.
|
Detailed Description
Parse repoindex part from a content
file.
This is all the downloader needs.
Definition at line 45 of file ContentFileReader.h.
Member Typedef Documentation
Constructor & Destructor Documentation
zypp::parser::susetags::ContentFileReader::ContentFileReader |
( |
| ) |
|
zypp::parser::susetags::ContentFileReader::~ContentFileReader |
( |
| ) |
|
|
virtual |
Member Function Documentation
Parse the stream.
- Exceptions:
-
ParseException | on errors. |
AbortRequestException | on user request. Invokes consume for each tag. consume might throw other exceptions as well. |
Definition at line 177 of file ContentFileReader.cc.
void zypp::parser::susetags::ContentFileReader::setRepoIndexConsumer |
( |
const RepoIndexConsumer & |
fnc_r | ) |
|
|
inline |
void zypp::parser::susetags::ContentFileReader::beginParse |
( |
| ) |
|
|
protectedvirtual |
void zypp::parser::susetags::ContentFileReader::endParse |
( |
| ) |
|
|
protectedvirtual |
void zypp::parser::susetags::ContentFileReader::userRequestedAbort |
( |
unsigned |
lineNo_r | ) |
|
|
protectedvirtual |
Called when user(callback) request to abort.
- Exceptions:
-
AbortRequestException | unless overloaded. |
Definition at line 151 of file ContentFileReader.cc.
std::string zypp::parser::susetags::ContentFileReader::errPrefix |
( |
unsigned |
lineNo_r, |
|
|
const std::string & |
msg_r = std::string() , |
|
|
const std::string & |
line_r = "-" |
|
) |
| const |
|
protected |
Member Data Documentation
The documentation for this class was generated from the following files: