![]() |
Isis 3 Programmer Reference
|
This class is an XmlHandler used to read and write BundleResults objects from and to XML files. More...
Public Member Functions | |
XmlHandler (BundleResults *statistics, Project *project) | |
Constructs an XmlHandler used to save a BundleResults object. More... | |
~XmlHandler () | |
Destroys an XmlHandler. More... | |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
Handle an XML start element. More... | |
virtual bool | characters (const QString &ch) |
Adds a QString to the XmlHandler's internal character data. More... | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
Handle end tags for the BundleResults serialized XML. More... | |
virtual void | setReader (XmlStackedHandlerReader *) |
void | switchToNewHandler (XmlStackedHandler *nextHandler) |
Switch to a new content handler and continue processing using the new handler. More... | |
Protected Member Functions | |
XmlStackedHandlerReader * | reader () |
const XmlStackedHandlerReader * | reader () const |
bool | fatalError (const QXmlParseException &exception) |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) | |
Private Attributes | |
BundleResults * | m_xmlHandlerBundleResults |
Project * | m_xmlHandlerProject |
QString | m_xmlHandlerCharacters |
int | m_xmlHandlerResidualsListSize |
int | m_xmlHandlerSampleResidualsListSize |
int | m_xmlHandlerLineResidualsListSize |
int | m_xmlHandlerXSigmasListSize |
int | m_xmlHandlerYSigmasListSize |
int | m_xmlHandlerZSigmasListSize |
int | m_xmlHandlerRASigmasListSize |
int | m_xmlHandlerDECSigmasListSize |
int | m_xmlHandlerTWISTSigmasListSize |
QList< Statistics * > | m_xmlHandlerStatisticsList |
StatCumProbDistDynCalc * | m_xmlHandlerCumProCalc |
QString | m_xmlHandlerCorrelationImageId |
QStringList | m_xmlHandlerCorrelationParameterList |
QMap< QString, QStringList > | m_xmlHandlerCorrelationMap |
This class is an XmlHandler used to read and write BundleResults objects from and to XML files.
Documentation will be updated when it is decided if XML support will remain.
Definition at line 266 of file BundleResults.h.
Isis::BundleResults::XmlHandler::XmlHandler | ( | BundleResults * | statistics, |
Project * | project | ||
) |
Constructs an XmlHandler used to save a BundleResults object.
statistics | The BundleResults that the XmlHandler will save. |
project | The project that the BundleResults object belongs to. |
Definition at line 1714 of file BundleResults.cpp.
Isis::BundleResults::XmlHandler::~XmlHandler | ( | ) |
Destroys an XmlHandler.
Definition at line 1741 of file BundleResults.cpp.
|
virtual |
Adds a QString to the XmlHandler's internal character data.
ch | The data to be added. |
Definition at line 2118 of file BundleResults.cpp.
|
virtual |
Handle end tags for the BundleResults serialized XML.
namespaceURI | URI of the specified tags namespce |
localName | SAX localName |
qName | SAX qualified name |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 2133 of file BundleResults.cpp.
References _FILEINFO_, Isis::toBool(), Isis::toDouble(), Isis::toInt(), and Isis::IException::Unknown.
|
virtual |
Handle an XML start element.
This method is called when the reader finds an open tag. handle the read when the startElement with the name localName has been found.
qName | SAX namespace for this tag |
localName | SAX local name |
qName | SAX qualified name of the tag. |
attributes | The list of attributes for the tag. |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 1764 of file BundleResults.cpp.
References Isis::BundleResults::maximumLikelihoodMedianR2Residuals(), Isis::toDouble(), and Isis::toInt().
|
inherited |
Switch to a new content handler and continue processing using the new handler.
Definition at line 32 of file XmlStackedHandler.cpp.
Referenced by Isis::XmlStackedHandlerReader::pushContentHandler().
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/12/2023 23:39:49 |