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. | |
~XmlHandler () | |
Destroys an XmlHandler. | |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
Handle an XML start element. | |
virtual bool | characters (const QString &ch) |
Adds a QString to the XmlHandler's internal character data. | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
Handle end tags for the BundleResults serialized XML. | |
virtual void | setReader (XmlStackedHandlerReader *) |
void | switchToNewHandler (XmlStackedHandler *nextHandler) |
Switch to a new content handler and continue processing using the new handler. | |
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 |
XmlStackedHandlerReader * | m_reader |
int | m_depth |
QString | m_lastStartNamespaceURI |
QString | m_lastStartLocalName |
QString | m_lastStartQName |
QXmlAttributes | m_lastStartAtts |
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 279 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 1958 of file BundleResults.cpp.
Isis::BundleResults::XmlHandler::~XmlHandler | ( | ) |
Destroys an XmlHandler.
Definition at line 1985 of file BundleResults.cpp.
|
virtual |
Adds a QString to the XmlHandler's internal character data.
ch | The data to be added. |
Definition at line 2362 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 2377 of file BundleResults.cpp.
References Isis::toBool(), Isis::toDouble(), Isis::toInt(), and Isis::IException::Unknown.
|
protectedinherited |
Definition at line 78 of file XmlStackedHandler.cpp.
|
protectedinherited |
Definition at line 68 of file XmlStackedHandler.cpp.
|
protectedinherited |
Definition at line 73 of file XmlStackedHandler.cpp.
|
virtualinherited |
Definition at line 28 of file XmlStackedHandler.cpp.
|
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 2008 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 37 of file XmlStackedHandler.cpp.
|
privateinherited |
Definition at line 141 of file XmlStackedHandler.h.
|
privateinherited |
Definition at line 146 of file XmlStackedHandler.h.
|
privateinherited |
Definition at line 144 of file XmlStackedHandler.h.
|
privateinherited |
Definition at line 143 of file XmlStackedHandler.h.
|
privateinherited |
Definition at line 145 of file XmlStackedHandler.h.
|
privateinherited |
Definition at line 140 of file XmlStackedHandler.h.
|
private |
Definition at line 294 of file BundleResults.h.
|
private |
Definition at line 296 of file BundleResults.h.
|
private |
Definition at line 309 of file BundleResults.h.
|
private |
Definition at line 311 of file BundleResults.h.
|
private |
Definition at line 310 of file BundleResults.h.
|
private |
Definition at line 307 of file BundleResults.h.
|
private |
Definition at line 304 of file BundleResults.h.
|
private |
Definition at line 299 of file BundleResults.h.
|
private |
Definition at line 295 of file BundleResults.h.
|
private |
Definition at line 303 of file BundleResults.h.
|
private |
Definition at line 297 of file BundleResults.h.
|
private |
Definition at line 298 of file BundleResults.h.
|
private |
Definition at line 306 of file BundleResults.h.
|
private |
Definition at line 305 of file BundleResults.h.
|
private |
Definition at line 300 of file BundleResults.h.
|
private |
Definition at line 301 of file BundleResults.h.
|
private |
Definition at line 302 of file BundleResults.h.