HPCToolkit
XercesErrorHandler Class Reference

#include <XercesErrorHandler.hpp>

Inheritance diagram for XercesErrorHandler:
Collaboration diagram for XercesErrorHandler:

Public Member Functions

 XercesErrorHandler (const std::string &_userFile, const std::string &_tmpFile, int _numPrefixLines, bool _verbose)
 
void error (const XERCES_CPP_NAMESPACE::SAXParseException &e)
 
void fatalError (const XERCES_CPP_NAMESPACE::SAXParseException &e)
 
void warning (const XERCES_CPP_NAMESPACE::SAXParseException &e)
 
void resetErrors ()
 

Static Public Member Functions

static void report (std::ostream &estream, const char *prefix, const char *fileType, const XERCES_CPP_NAMESPACE::SAXParseException &e, const char *alternateFile=0, int numPrefixLines=0)
 

Private Attributes

std::string userFile
 
std::string tmpFile
 
int numPrefixLines
 
bool verbose
 

Detailed Description

Definition at line 65 of file XercesErrorHandler.hpp.

Constructor & Destructor Documentation

◆ XercesErrorHandler()

XercesErrorHandler::XercesErrorHandler ( const std::string &  _userFile,
const std::string &  _tmpFile,
int  _numPrefixLines,
bool  _verbose 
)
inline

Definition at line 67 of file XercesErrorHandler.hpp.

Here is the call graph for this function:

Member Function Documentation

◆ error()

void XercesErrorHandler::error ( const XERCES_CPP_NAMESPACE::SAXParseException &  e)

Definition at line 95 of file XercesErrorHandler.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fatalError()

void XercesErrorHandler::fatalError ( const XERCES_CPP_NAMESPACE::SAXParseException &  e)

Definition at line 103 of file XercesErrorHandler.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ report()

void XercesErrorHandler::report ( std::ostream &  estream,
const char *  prefix,
const char *  fileType,
const XERCES_CPP_NAMESPACE::SAXParseException &  e,
const char *  alternateFile = 0,
int  numPrefixLines = 0 
)
static

Definition at line 76 of file XercesErrorHandler.cpp.

Here is the caller graph for this function:

◆ resetErrors()

void XercesErrorHandler::resetErrors ( )
inline

Definition at line 78 of file XercesErrorHandler.hpp.

Here is the call graph for this function:

◆ warning()

void XercesErrorHandler::warning ( const XERCES_CPP_NAMESPACE::SAXParseException &  e)

Definition at line 112 of file XercesErrorHandler.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ numPrefixLines

int XercesErrorHandler::numPrefixLines
private

Definition at line 89 of file XercesErrorHandler.hpp.

◆ tmpFile

std::string XercesErrorHandler::tmpFile
private

Definition at line 88 of file XercesErrorHandler.hpp.

◆ userFile

std::string XercesErrorHandler::userFile
private

Definition at line 87 of file XercesErrorHandler.hpp.

◆ verbose

bool XercesErrorHandler::verbose
private

Definition at line 90 of file XercesErrorHandler.hpp.


The documentation for this class was generated from the following files: