Parse repoindex part from a content file.  
 More...
#include <zypp/parser/susetags/ContentFileReader.h>
|  | 
| 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. 
 | 
|  | 
Parse repoindex part from a content file. 
This is all the downloader needs. 
Definition at line 45 of file ContentFileReader.h.
◆ RepoIndexConsumer
◆ ContentFileReader()
      
        
          | zypp::parser::susetags::ContentFileReader::ContentFileReader | ( |  | ) |  | 
      
 
 
◆ ~ContentFileReader()
  
  | 
        
          | zypp::parser::susetags::ContentFileReader::~ContentFileReader | ( |  | ) |  |  | virtual | 
 
 
◆ parse()
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 175 of file ContentFileReader.cc.
 
 
◆ setRepoIndexConsumer()
  
  | 
        
          | void zypp::parser::susetags::ContentFileReader::setRepoIndexConsumer | ( | const RepoIndexConsumer & | fnc_r | ) |  |  | inline | 
 
 
◆ beginParse()
  
  | 
        
          | void zypp::parser::susetags::ContentFileReader::beginParse | ( |  | ) |  |  | protectedvirtual | 
 
 
◆ endParse()
  
  | 
        
          | void zypp::parser::susetags::ContentFileReader::endParse | ( |  | ) |  |  | protectedvirtual | 
 
 
◆ userRequestedAbort()
  
  | 
        
          | void zypp::parser::susetags::ContentFileReader::userRequestedAbort | ( | unsigned | lineNo_r | ) |  |  | protectedvirtual | 
 
Called when user(callback) request to abort. 
- Exceptions
- 
  
    | AbortRequestException | unless overloaded. |  
 
Definition at line 149 of file ContentFileReader.cc.
 
 
◆ errPrefix()
  
  | 
        
          | std::string zypp::parser::susetags::ContentFileReader::errPrefix | ( | unsigned | lineNo_r, |  
          |  |  | const std::string & | msg_r = std::string(), |  
          |  |  | const std::string & | line_r = "-" ) const |  | protected | 
 
 
◆ _pimpl
◆ _repoIndexConsumer
The documentation for this class was generated from the following files: