|
|
Go to the documentation of this file.
11 : attrCount_(0), characterCount_(0), elementCount_(0), spaceCount_(0), sawErrors_(
false), userNS_(
false) {}
20 const XMLCh*
const localname,
21 const XMLCh*
const qname,
47 std::cout <<
"DetectorDescription/Parser/interface/DDLSAX2Handler::dumpStats, file: " <<
fname <<
" ("
59 <<
"\nError at file " <<
cStr(
e.getSystemId()).ptr() <<
", line " <<
e.getLineNumber() <<
", char "
60 <<
e.getColumnNumber() <<
"\n Message: " <<
cStr(
e.getMessage()).ptr() << std::endl;
66 <<
"\nFatal Error at file " <<
cStr(
e.getSystemId()).ptr() <<
", line " <<
e.getLineNumber() <<
", char "
67 <<
e.getColumnNumber() <<
"\n Message: " <<
cStr(
e.getMessage()).ptr() << std::endl;
68 throw cms::Exception(
"DDException") <<
"DetectorDescription_Parser_Unrecoverable_Error_from_Xerces: "
70 <<
" line: " <<
e.getLineNumber() <<
" col: " <<
e.getColumnNumber();
75 <<
"\nWarning at file " <<
cStr(
e.getSystemId()).ptr() <<
", line " <<
e.getLineNumber() <<
", char "
76 <<
e.getColumnNumber() <<
"\n Message: " <<
cStr(
e.getMessage()).ptr() << std::endl;
unsigned int getSpaceCount() const
Get the count of spaces processed so far.
XMLSize_t characterCount_
void error(const SAXParseException &exception) override
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
ZStr< char > cStr(XMLCh const *str)
unsigned int getElementCount() const
Get the count of elements processed so far.
virtual void setUserNS(bool userns)
void characters(const XMLCh *chars, XMLSize_t length) override
void comment(const XMLCh *chars, XMLSize_t length) override
void fatalError(const SAXParseException &exception) override
unsigned int getCharacterCount() const
Get the count of characters processed so far.
void endElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname) override
virtual void setNameSpace(const std::string &nms)
void ignorableWhitespace(const XMLCh *chars, XMLSize_t length) override
unsigned int getAttrCount() const
Get the count of attributes processed so far.
void resetDocument() override
XERCES_CPP_NAMESPACE::Attributes Attributes
void warning(const SAXParseException &exception) override
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override
~DDLSAX2Handler() override
virtual void dumpStats(const std::string &fname)