zypp::parser::XMLParserError Class Reference

#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 48 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 67 of file XMLNodeIterator.cc.

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

Definition at line 77 of file XMLNodeIterator.cc.


Member Function Documentation

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

The message of the errors.

Definition at line 80 of file XMLNodeIterator.cc.

References _msg.

Referenced by zypp::parser::operator<<().

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

The severity of this error.

Definition at line 85 of file XMLNodeIterator.cc.

References _severity.

Referenced by zypp::parser::operator<<().

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

See libxml2 documentation.

Definition at line 90 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 95 of file XMLNodeIterator.cc.

References _docLine.

Referenced by zypp::parser::operator<<().

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

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

Definition at line 100 of file XMLNodeIterator.cc.

References _docColumn.

Referenced by zypp::parser::operator<<().

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 105 of file XMLNodeIterator.cc.

References _docColumn, and _docLine.


Member Data Documentation

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

Definition at line 94 of file XMLNodeIterator.h.

Referenced by msg().

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

Definition at line 95 of file XMLNodeIterator.h.

Referenced by severity().

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

Definition at line 96 of file XMLNodeIterator.h.

Referenced by locator().

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

Definition at line 97 of file XMLNodeIterator.h.

Referenced by docLine(), and position().

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

Definition at line 98 of file XMLNodeIterator.h.

Referenced by docColumn(), and position().


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:22 2007 for libzypp by  doxygen 1.5.3