#include <SMESHGUI_XmlHandler.h>

Public Member Functions | |
| SMESHGUI_XmlHandler () | |
| Constructor. More... | |
| virtual | ~SMESHGUI_XmlHandler () |
| Destructor. More... | |
| bool | startDocument () |
| Starts parsing of document. More... | |
| bool | startElement (const QString &, const QString &, const QString &, const QXmlAttributes &) |
| Does different actions depending on the name of the tag and the state you are in document. More... | |
| bool | endElement (const QString &, const QString &, const QString &) |
| Reimplemented from QXmlDefaultHandler. More... | |
| bool | characters (const QString &) |
| Reimplemented from QXmlDefaultHandler. More... | |
| QString | errorString () |
| Returns the default error string. More... | |
| QString | errorProtocol () |
| Returns the error protocol if parsing failed. More... | |
| bool | fatalError (const QXmlParseException &) |
| Returns exception. More... | |
Data Fields | |
| IMap< QString, HypothesisData * > | myHypothesesMap |
| IMap< QString, HypothesisData * > | myAlgorithmsMap |
| QList< HypothesesSet * > | myListOfHypothesesSets |
Private Attributes | |
| QString | myErrorProt |
| QString | myPluginName |
| QString | myServerLib |
| QString | myClientLib |
| SMESHGUI_XmlHandler::SMESHGUI_XmlHandler | ( | ) |
Constructor.
|
virtual |
Destructor.
| bool SMESHGUI_XmlHandler::characters | ( | const QString & | ch | ) |
Reimplemented from QXmlDefaultHandler.
| bool SMESHGUI_XmlHandler::endElement | ( | const QString & | , |
| const QString & | , | ||
| const QString & | |||
| ) |
Reimplemented from QXmlDefaultHandler.
| QString SMESHGUI_XmlHandler::errorProtocol | ( | ) |
Returns the error protocol if parsing failed.
Reimplemented from QXmlDefaultHandler.
References myErrorProt.
Referenced by SMESH::InitAvailableHypotheses().
| QString SMESHGUI_XmlHandler::errorString | ( | ) |
Returns the default error string.
Reimplemented from QXmlDefaultHandler.
| bool SMESHGUI_XmlHandler::fatalError | ( | const QXmlParseException & | exception | ) |
| bool SMESHGUI_XmlHandler::startDocument | ( | ) |
Starts parsing of document.
Does some initialization
Reimplemented from QXmlDefaultHandler.
References myErrorProt.
| bool SMESHGUI_XmlHandler::startElement | ( | const QString & | , |
| const QString & | , | ||
| const QString & | qName, | ||
| const QXmlAttributes & | atts | ||
| ) |
Does different actions depending on the name of the tag and the state you are in document.
Reimplemented from QXmlDefaultHandler.
References BAD_HYP_FLAG, myAlgorithmsMap, myClientLib, myHypothesesMap, myListOfHypothesesSets, myPluginName, myServerLib, and SMESHGUI::resourceMgr().
| IMap<QString, HypothesisData*> SMESHGUI_XmlHandler::myAlgorithmsMap |
Referenced by SMESH::InitAvailableHypotheses(), and startElement().
|
private |
Referenced by startElement().
|
private |
Referenced by errorProtocol(), fatalError(), and startDocument().
| IMap<QString, HypothesisData*> SMESHGUI_XmlHandler::myHypothesesMap |
Referenced by SMESH::InitAvailableHypotheses(), and startElement().
| QList<HypothesesSet*> SMESHGUI_XmlHandler::myListOfHypothesesSets |
Referenced by SMESH::InitAvailableHypotheses(), and startElement().
|
private |
Referenced by startElement().
|
private |
Referenced by startElement().