Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

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 ()
 ~XMLParserError () throw ()
std::string msg () const throw ()
int severity () const throw ()
xmlTextReaderLocatorPtr locator () const throw ()
int docLine () const throw ()
int docColumn () const throw ()
std::string position () const throw ()

Private Attributes

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


Detailed Description

class for reporting syntax errors in XMLNodeIterator.


Constructor & Destructor Documentation

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

Constructor

XMLParserError::~XMLParserError  )  throw ()
 


Member Function Documentation

int XMLParserError::docColumn  )  const throw ()
 

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

int XMLParserError::docLine  )  const throw ()
 

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

xmlTextReaderLocatorPtr XMLParserError::locator  )  const throw ()
 

See libxml2 documentation

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

The message of the errors

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

Gives a string describing the position in the xml document. (either empty, or "at line ..., column ...")

int XMLParserError::severity  )  const throw ()
 

The severity of this error


Member Data Documentation

int XMLParserError::_docColumn [private]
 

int XMLParserError::_docLine [private]
 

xmlTextReaderLocatorPtr XMLParserError::_locator [private]
 

std::string XMLParserError::_msg [private]
 

int XMLParserError::_severity [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Feb 24 00:30:03 2006 for liby2util by  doxygen 1.4.4