zypp::parser::XMLParserError Class Reference

class for reporting syntax errors in XMLNodeIterator. More...

#include <XMLNodeIterator.h>

List of all members.

Public Member Functions

 XMLParserError (const char *msg, int severity, xmlTextReaderLocatorPtr locator, int docLine, int docColumn) throw ()
 Constructor.
 ~XMLParserError () throw ()
std::string msg () const throw ()
 The message of the errors.
int severity () const throw ()
 The severity of this error.
xmlTextReaderLocatorPtr locator () const throw ()
 See libxml2 documentation.
int docLine () const throw ()
 The line number in the xml document where the error occurred.
int docColumn () const throw ()
 The column number in the xml document where the error occurred.
std::string position () const throw ()
 Gives a string describing the position in the xml document.

Private Attributes

std::string _msg
int _severity
xmlTextReaderLocatorPtr _locator
int _docLine
int _docColumn


Detailed Description

class for reporting syntax errors in XMLNodeIterator.

Definition at line 46 of file XMLNodeIterator.h.


Constructor & Destructor Documentation

zypp::parser::XMLParserError::XMLParserError const char *  msg,
int  severity,
xmlTextReaderLocatorPtr  locator,
int  docLine,
int  docColumn
throw ()
 

Constructor.

Definition at line 59 of file XMLNodeIterator.cc.

zypp::parser::XMLParserError::~XMLParserError  )  throw ()
 

Definition at line 69 of file XMLNodeIterator.cc.


Member Function Documentation

std::string zypp::parser::XMLParserError::msg  )  const throw ()
 

The message of the errors.

Definition at line 72 of file XMLNodeIterator.cc.

References _msg.

int zypp::parser::XMLParserError::severity  )  const throw ()
 

The severity of this error.

Definition at line 77 of file XMLNodeIterator.cc.

References _severity.

xmlTextReaderLocatorPtr zypp::parser::XMLParserError::locator  )  const throw ()
 

See libxml2 documentation.

Definition at line 82 of file XMLNodeIterator.cc.

References _locator.

int zypp::parser::XMLParserError::docLine  )  const throw ()
 

The line number in the xml document where the error occurred.

Definition at line 87 of file XMLNodeIterator.cc.

References _docLine.

int zypp::parser::XMLParserError::docColumn  )  const throw ()
 

The column number in the xml document where the error occurred.

Definition at line 92 of file XMLNodeIterator.cc.

References _docColumn.

std::string zypp::parser::XMLParserError::position  )  const throw ()
 

Gives a string describing the position in the xml document.

(either empty, or "at line ..., column ...")

Definition at line 97 of file XMLNodeIterator.cc.

References _docColumn, and _docLine.


Member Data Documentation

std::string zypp::parser::XMLParserError::_msg [private]
 

Definition at line 92 of file XMLNodeIterator.h.

Referenced by msg().

int zypp::parser::XMLParserError::_severity [private]
 

Definition at line 93 of file XMLNodeIterator.h.

Referenced by severity().

xmlTextReaderLocatorPtr zypp::parser::XMLParserError::_locator [private]
 

Definition at line 94 of file XMLNodeIterator.h.

Referenced by locator().

int zypp::parser::XMLParserError::_docLine [private]
 

Definition at line 95 of file XMLNodeIterator.h.

Referenced by docLine(), and position().

int zypp::parser::XMLParserError::_docColumn [private]
 

Definition at line 96 of file XMLNodeIterator.h.

Referenced by docColumn(), and position().


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6