|
OpenADFortTk (basic)
|
#include <XAIF_SAXHandler.h>

Public Member Functions | |
| XAIF_SAXHandler (PU_Info *pu_forest, const XMLCh *implementationFeatures) | |
| ~XAIF_SAXHandler () | |
| void | initialize (bool validateAgainstSchema) |
| void | parse (std::string theXMLFileName) |
| void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const xercesc::Attributes &attrs) |
| void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
| bool | getParserErrorStatus () |
| void | deleteParser () |
Private Member Functions | |
| XAIF_SAXHandler () | |
| XAIF_SAXHandler & | operator= (const XAIF_SAXHandler &x) |
| void | copyAttributes (xercesc::DOMElement *theElement, const xercesc::Attributes &theAttributes) |
Private Attributes | |
| PU_Info * | myPUForest_p |
| PUXlationContext | myPUXlationContext |
| xercesc::SAX2XMLReader * | myParser_p |
| xercesc::DOMImplementation * | myDOMImplementation_p |
| xercesc::DOMDocument * | myDOMDocument_p |
| std::stack< xercesc::DOMElement * > | myElementStack |
| bool | inDOMMode |
Definition at line 19 of file XAIF_SAXHandler.h.
| xaif2whirl::XAIF_SAXHandler::XAIF_SAXHandler | ( | PU_Info * | pu_forest, |
| const XMLCh * | implementationFeatures | ||
| ) |
Definition at line 18 of file XAIF_SAXHandler.cxx.
Definition at line 27 of file XAIF_SAXHandler.cxx.
| xaif2whirl::XAIF_SAXHandler::XAIF_SAXHandler | ( | ) | [private] |
no def
| void xaif2whirl::XAIF_SAXHandler::copyAttributes | ( | xercesc::DOMElement * | theElement, |
| const xercesc::Attributes & | theAttributes | ||
| ) | [private] |
Definition at line 152 of file XAIF_SAXHandler.cxx.
Referenced by startElement().
Definition at line 148 of file XAIF_SAXHandler.cxx.
References myParser_p.
Referenced by xaif2whirl::main_SAX().
| void xaif2whirl::XAIF_SAXHandler::endElement | ( | const XMLCh *const | uri, |
| const XMLCh *const | localname, | ||
| const XMLCh *const | qname | ||
| ) |
Definition at line 112 of file XAIF_SAXHandler.cxx.
References XAIFStringRepository::elem_CFG_x(), XAIFStringRepository::elem_ReplaceList_x(), XAIFStringRepository::elem_ScopeHierarchy_x(), FORTTK_DIE, xaif2whirl::GetChildElement(), xaif2whirl::GetNextSiblingElement(), inDOMMode, myDOMDocument_p, myElementStack, myPUForest_p, myPUXlationContext, xaif2whirl::TranslateCFG(), XAIFStrings, and xaif2whirl::xlate_Scope().

Definition at line 66 of file XAIF_SAXHandler.cxx.
References myParser_p.
Referenced by xaif2whirl::main_SAX().
| void xaif2whirl::XAIF_SAXHandler::initialize | ( | bool | validateAgainstSchema | ) |
Definition at line 30 of file XAIF_SAXHandler.cxx.
References fortTkSupport::WNIdToWNTabMap::Create(), xaif2whirl::DeclareActiveTypes(), Diag_Set_Phase(), FORTTK_MSG, myParser_p, myPUForest_p, and xaif2whirl::WNIdToWNTableMap.
Referenced by xaif2whirl::main_SAX().

| XAIF_SAXHandler& xaif2whirl::XAIF_SAXHandler::operator= | ( | const XAIF_SAXHandler & | x | ) | [private] |
no def
| void xaif2whirl::XAIF_SAXHandler::parse | ( | std::string | theXMLFileName | ) |
Definition at line 62 of file XAIF_SAXHandler.cxx.
References myParser_p.
Referenced by xaif2whirl::main_SAX().
| void xaif2whirl::XAIF_SAXHandler::startElement | ( | const XMLCh *const | uri, |
| const XMLCh *const | localname, | ||
| const XMLCh *const | qname, | ||
| const xercesc::Attributes & | attrs | ||
| ) |
Definition at line 70 of file XAIF_SAXHandler.cxx.
References XAIFStringRepository::attr_prefix_x(), copyAttributes(), XAIFStringRepository::elem_CallGraph_x(), XAIFStringRepository::elem_CFG_x(), XAIFStringRepository::elem_ReplaceList_x(), XAIFStringRepository::elem_ScopeHierarchy_x(), FORTTK_DIE, inDOMMode, myDOMDocument_p, myDOMImplementation_p, myElementStack, xaif2whirl::PUXlationContext::setPrefix(), and XAIFStrings.

bool xaif2whirl::XAIF_SAXHandler::inDOMMode [private] |
Definition at line 67 of file XAIF_SAXHandler.h.
Referenced by endElement(), and startElement().
xercesc::DOMDocument* xaif2whirl::XAIF_SAXHandler::myDOMDocument_p [private] |
Definition at line 63 of file XAIF_SAXHandler.h.
Referenced by endElement(), and startElement().
xercesc::DOMImplementation* xaif2whirl::XAIF_SAXHandler::myDOMImplementation_p [private] |
Definition at line 61 of file XAIF_SAXHandler.h.
Referenced by startElement().
std::stack<xercesc::DOMElement*> xaif2whirl::XAIF_SAXHandler::myElementStack [private] |
Definition at line 65 of file XAIF_SAXHandler.h.
Referenced by endElement(), and startElement().
xercesc::SAX2XMLReader* xaif2whirl::XAIF_SAXHandler::myParser_p [private] |
Definition at line 59 of file XAIF_SAXHandler.h.
Referenced by deleteParser(), getParserErrorStatus(), initialize(), and parse().
PU_Info* xaif2whirl::XAIF_SAXHandler::myPUForest_p [private] |
Definition at line 55 of file XAIF_SAXHandler.h.
Referenced by endElement(), and initialize().
Definition at line 57 of file XAIF_SAXHandler.h.
Referenced by endElement().