Isis 3.0 Programmer Reference
Back | Home
Isis::BundleResults::XmlHandler Class Reference

This class is an XmlHandler used to read and write BundleResults objects from and to XML files. More...

Inheritance diagram for Isis::BundleResults::XmlHandler:
Inheritance graph
Collaboration diagram for Isis::BundleResults::XmlHandler:
Collaboration graph

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)
 Writes a starting XML 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)
 Writes an ending XML element. More...
 
virtual void setReader (XmlStackedHandlerReader *)
 
void switchToNewHandler (XmlStackedHandler *nextHandler)
 

Protected Member Functions

XmlStackedHandlerReaderreader ()
 
const XmlStackedHandlerReaderreader () const
 
bool fatalError (const QXmlParseException &exception)
 

Private Member Functions

 Q_DISABLE_COPY (XmlHandler)
 

Private Attributes

BundleResultsm_xmlHandlerBundleResults
 
Projectm_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
 
StatCumProbDistDynCalcm_xmlHandlerCumProCalc
 
QString m_xmlHandlerCorrelationImageId
 
QStringList m_xmlHandlerCorrelationParameterList
 
QMap< QString, QStringListm_xmlHandlerCorrelationMap
 

Detailed Description

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.

Author
2014-07-28 Jeannie Backer

Definition at line 268 of file BundleResults.h.

Constructor & Destructor Documentation

Isis::BundleResults::XmlHandler::XmlHandler ( BundleResults statistics,
Project project 
)

Constructs an XmlHandler used to save a BundleResults object.

Parameters
statisticsThe BundleResults that the XmlHandler will save.
projectThe project that the BundleResults object belongs to.

Definition at line 1792 of file BundleResults.cpp.

Isis::BundleResults::XmlHandler::~XmlHandler ( )

Destroys an XmlHandler.

Definition at line 1818 of file BundleResults.cpp.

Member Function Documentation

bool Isis::BundleResults::XmlHandler::characters ( const QString &  ch)
virtual

Adds a QString to the XmlHandler's internal character data.

Parameters
chThe data to be added.
Returns
bool If false, then the data was not successfully added.

Definition at line 2137 of file BundleResults.cpp.

bool Isis::BundleResults::XmlHandler::endElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName 
)
virtual

Writes an ending XML element.

Parameters
namespaceURI???
localName???
qNameThe name of the element.
Returns
bool If the XmlHandler should continue to be used.

Reimplemented from Isis::XmlStackedHandler.

Definition at line 2152 of file BundleResults.cpp.

References Isis::toBool(), Isis::toDouble(), and Isis::toInt().

bool Isis::BundleResults::XmlHandler::startElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName,
const QXmlAttributes &  atts 
)
virtual

Writes a starting XML element.

Parameters
namespaceURI???
localName???
qNameThe name of the element.
attsThe attributes of the element.
Returns
bool If the XmlHandler should continue to be used, usually true.

Reimplemented from Isis::XmlStackedHandler.

Definition at line 1840 of file BundleResults.cpp.

References Isis::BundleResults::maximumLikelihoodMedianR2Residuals(), Isis::toDouble(), and Isis::toInt().


The documentation for this class was generated from the following files:

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 ISIS Support Center
File Modified: 07/12/2023 23:35:20