60 #ifndef profxml_PGMDocHandler 61 #define profxml_PGMDocHandler 96 startElement(
const XMLCh*
const uri,
const XMLCh*
const name,
97 const XMLCh*
const qname,
98 const XERCES_CPP_NAMESPACE::Attributes& attributes);
100 endElement(
const XMLCh*
const uri,
const XMLCh*
const name,
101 const XMLCh*
const qname);
106 const XERCES_CPP_NAMESPACE::Attributes& attributes);
112 error(
const SAXParseException& e);
118 warning(
const SAXParseException& e);
269 #define PGM_Throw(streamArgs) DIAG_ThrowX(PGMException, streamArgs) 274 const char* filenm =
NULL,
unsigned int lineno = 0)
280 {
return "HPCToolkitStructure file error [STRUCTException]: " + what(); }
285 #endif // profxml_PGMDocHandler void getLineAttr(SrcFile::ln &begLn, SrcFile::ln &endLn, const XERCES_CPP_NAMESPACE::Attributes &attributes)
Prof::Struct::ANode * entry
void fatalError(const SAXParseException &e)
Prof::Struct::Proc * m_curProc
const XMLCh *const elemAlien
static const char * ToString(Doc_t docty)
PGMException(const std::string x, const char *filenm=NULL, unsigned int lineno=0)
Prof::Struct::ANode * shadow
const XMLCh *const elemFile
Prof::Struct::ANode * getScope(unsigned int idx)
StackEntry_t(Prof::Struct::ANode *entry_=NULL, Prof::Struct::ANode *shadow_=NULL)
void pushCurrentScope(Prof::Struct::ANode *scope)
void startElement(const XMLCh *const uri, const XMLCh *const name, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attributes)
const XMLCh *const attrName
const XMLCh *const elemLoop
void endElement(const XMLCh *const uri, const XMLCh *const name, const XMLCh *const qname)
virtual std::string message() const
Prof::Struct::Root * m_curRoot
Prof::Struct::ANode * GetShadow() const
PGMDocHandler(Doc_t ty, Prof::Struct::Tree *structure, DocHandlerArgs &args)
void SetShadow(Prof::Struct::ANode *x)
Prof::Struct::Tree * m_structure
const XMLCh *const attrVMA
void processGroupDocEndTag()
const XMLCh *const attrFile
const XMLCh *const elemVariable
const XMLCh *const elemProc
Prof::Struct::File * m_curFile
void error(const SAXParseException &e)
const XMLCh *const elemStructure
StackEntry_t * getStackEntry(unsigned int idx)
const XMLCh *const attrId
Prof::Struct::ANode * getScope() const
Prof::Struct::ANode * getShadowScope(unsigned int idx)
const XMLCh *const elemStmt
std::map< std::string, Prof::Struct::Proc * > idToProcMap
const XMLCh *const elemGroup
const XMLCh *const elemLM
unsigned int findEnclosingGroupScopeDepth()
const XMLCh *const attrVer
Prof::Struct::ANode * getCurrentScope()
void * Get(unsigned int depth)
void warning(const SAXParseException &e)
void SetScope(Prof::Struct::ANode *x)
Prof::Struct::File * findCurrentFile()
Prof::Struct::LM * m_curLM
const XMLCh *const attrLnName
const XMLCh *const attrLine