TSPLIB
|
#include <ValidateSAX2ErrorHandler.hpp>
Public Member Functions | |
SAX2ErrorHandler () | |
~SAX2ErrorHandler () | |
bool | getFailed () |
void | warning (const SAXParseException &exc) |
void | error (const SAXParseException &exc) |
void | fatalError (const SAXParseException &exc) |
void | resetErrors () |
Private Member Functions | |
SAX2ErrorHandler (const SAX2ErrorHandler &sAXErrorHandler) | |
SAX2ErrorHandler & | operator= (const SAX2ErrorHandler &sAXErrorHandler) |
Private Attributes | |
bool | failed |
Implements an ErrorHandler
Definition at line 24 of file ValidateSAX2ErrorHandler.hpp.
SAX2ErrorHandler::SAX2ErrorHandler | ( | const SAX2ErrorHandler & | sAXErrorHandler | ) | [private] |
Not implemented copy constructor for the class SAX2ErrorHandler.
sAXErrorHandler | Instance to be copied. |
Constructor for the class SAXErrorHandler.
Definition at line 14 of file ValidateSAX2ErrorHandler.cpp.
References failed.
Destructor for the class SAXErrorHandler.
Definition at line 18 of file ValidateSAX2ErrorHandler.cpp.
void SAX2ErrorHandler::error | ( | const SAXParseException & | exc | ) |
Error handling interface for errors. The method does nothing.
exc | Error. |
Definition at line 25 of file ValidateSAX2ErrorHandler.cpp.
References failed.
void SAX2ErrorHandler::fatalError | ( | const SAXParseException & | exc | ) |
Error handling interface for fatal errors. The method does nothing
exc | Fatal error. |
Definition at line 29 of file ValidateSAX2ErrorHandler.cpp.
References failed.
bool SAX2ErrorHandler::getFailed | ( | ) | [inline] |
Returns true if the last validation failed
Definition at line 63 of file ValidateSAX2ErrorHandler.hpp.
Referenced by instanceIn().
SAX2ErrorHandler& SAX2ErrorHandler::operator= | ( | const SAX2ErrorHandler & | sAXErrorHandler | ) | [private] |
Not implemented operator "=".
sAXErrorHandler | Right side of the operator. |
void SAX2ErrorHandler::resetErrors | ( | ) |
Reset the Error handler object on its reuse. The method does nothing.
Definition at line 33 of file ValidateSAX2ErrorHandler.cpp.
References failed.
void SAX2ErrorHandler::warning | ( | const SAXParseException & | exc | ) |
Error handling interface for warnings. The method does nothing.
exc | Warning. |
Definition at line 21 of file ValidateSAX2ErrorHandler.cpp.
References failed.
bool SAX2ErrorHandler::failed [private] |
True if a validation fails.
Definition at line 29 of file ValidateSAX2ErrorHandler.hpp.
Referenced by error(), fatalError(), resetErrors(), SAX2ErrorHandler(), and warning().