BOSS 7.0.4
BESIII Offline Software System
|
#include <XmlErrorHandler.h>
Public Member Functions | |
XmlErrorHandler (bool throwErrors=false) | |
~XmlErrorHandler () | |
void | warning (const SAXParseException &exception) |
Keep count of warnings seen. | |
void | error (const SAXParseException &exception) |
Output row, column of parse error and increment counter. | |
void | fatalError (const SAXParseException &exception) |
Output row, column of fatal parse error and increment counter. | |
void | resetErrors () |
Clear counters. | |
int | getWarningCount () const |
int | getErrorCount () const |
int | getFatalCount () const |
XmlErrorHandler (bool throwErrors=false) | |
~XmlErrorHandler () | |
void | warning (const SAXParseException &exception) |
Keep count of warnings seen. | |
void | error (const SAXParseException &exception) |
Output row, column of parse error and increment counter. | |
void | fatalError (const SAXParseException &exception) |
Output row, column of fatal parse error and increment counter. | |
void | resetErrors () |
Clear counters. | |
int | getWarningCount () const |
int | getErrorCount () const |
int | getFatalCount () const |
This class handles errors during parsing of an xml file. By default output will go to cerr, but if throwErrors is set to true an exception of type xml::ParseException will be thrown instead
Definition at line 38 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlErrorHandler.h.
Definition at line 41 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlErrorHandler.h.
|
inline |
Definition at line 43 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlErrorHandler.h.
Definition at line 41 of file InstallArea/include/xmlBase/xmlBase/XmlErrorHandler.h.
|
inline |
Definition at line 43 of file InstallArea/include/xmlBase/xmlBase/XmlErrorHandler.h.
void XmlErrorHandler::error | ( | const SAXParseException & | exception | ) |
Output row, column of parse error and increment counter.
Definition at line 17 of file XmlErrorHandler.cxx.
void xmlBase::XmlErrorHandler::error | ( | const SAXParseException & | exception | ) |
Output row, column of parse error and increment counter.
void XmlErrorHandler::fatalError | ( | const SAXParseException & | exception | ) |
Output row, column of fatal parse error and increment counter.
Definition at line 43 of file XmlErrorHandler.cxx.
void xmlBase::XmlErrorHandler::fatalError | ( | const SAXParseException & | exception | ) |
Output row, column of fatal parse error and increment counter.
|
inline |
Definition at line 57 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlErrorHandler.h.
Referenced by xmlBase::XmlParser::parse().
|
inline |
Definition at line 57 of file InstallArea/include/xmlBase/xmlBase/XmlErrorHandler.h.
|
inline |
Definition at line 58 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlErrorHandler.h.
Referenced by xmlBase::XmlParser::parse().
|
inline |
Definition at line 58 of file InstallArea/include/xmlBase/xmlBase/XmlErrorHandler.h.
|
inline |
Definition at line 56 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlErrorHandler.h.
|
inline |
Definition at line 56 of file InstallArea/include/xmlBase/xmlBase/XmlErrorHandler.h.
void XmlErrorHandler::resetErrors | ( | ) |
Clear counters.
Definition at line 82 of file XmlErrorHandler.cxx.
Referenced by XmlErrorHandler().
void xmlBase::XmlErrorHandler::resetErrors | ( | ) |
Clear counters.
void XmlErrorHandler::warning | ( | const SAXParseException & | exception | ) |
Keep count of warnings seen.
Definition at line 13 of file XmlErrorHandler.cxx.
void xmlBase::XmlErrorHandler::warning | ( | const SAXParseException & | exception | ) |
Keep count of warnings seen.