This class is needed to read/write BundleSettings from/to an XML formateed file. More...
Public Member Functions | |
XmlHandler (BundleSettings *bundleSettings, Project *project) | |
Create an XML Handler (reader) that can populate the BundleSettings class data. More... | |
XmlHandler (BundleSettings *bundleSettings) | |
~XmlHandler () | |
Create an XML Handler (reader) that can populate the BundleSettings class data. 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) |
XML - TBD. More... | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
XML - TBD. More... | |
bool | fatalError (const QXmlParseException &exception) |
XML - TBD. More... | |
virtual void | setReader (XmlStackedHandlerReader *) |
void | switchToNewHandler (XmlStackedHandler *nextHandler) |
Protected Member Functions | |
XmlStackedHandlerReader * | reader () |
const XmlStackedHandlerReader * | reader () const |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) | |
Private Attributes | |
BundleSettings * | m_xmlHandlerBundleSettings |
Project * | m_xmlHandlerProject |
QString | m_xmlHandlerCharacters |
QList < BundleObservationSolveSettings * > | m_xmlHandlerObservationSettings |
This class is needed to read/write BundleSettings from/to an XML formateed file.
Definition at line 311 of file BundleSettings.h.
Isis::BundleSettings::XmlHandler::XmlHandler | ( | BundleSettings * | bundleSettings, |
Project * | project | ||
) |
Create an XML Handler (reader) that can populate the BundleSettings class data.
See BundleSettings::save() for the expected format. This contructor is called inside the BundleSettings constructor that takes an XmlStackedHandlerReader.
bundleSettings | The BundleSettings we're going to be initializing |
project | The project that contains the settings |
Definition at line 1288 of file BundleSettings.cpp.
Isis::BundleSettings::XmlHandler::~XmlHandler | ( | ) |
Create an XML Handler (reader) that can populate the BundleSettings class data.
See BundleSettings::save() for the expected format.
bundleSettings | The BundleSettings we're going to be initializing |
imageFolder | The folder that contains the Cube Destroys BundleSettings::XmlHandler object. |
NOTE: Currently this method is not used and may be deleted. Documentation and testing to be completed if called. TargetBody info should be added also.
Definition at line 1319 of file BundleSettings.cpp.
|
virtual |
XML - TBD.
NOTE: Currently this method is not used and may be deleted. Documentation and testing to be completed if called. TargetBody info should be added also.
Definition at line 1476 of file BundleSettings.cpp.
|
virtual |
XML - TBD.
NOTE: Currently this method is not used and may be deleted. Documentation and testing to be completed if called. TargetBody info should be added also.
Reimplemented from Isis::XmlStackedHandler.
Definition at line 1489 of file BundleSettings.cpp.
References Isis::toBool().
bool Isis::BundleSettings::XmlHandler::fatalError | ( | const QXmlParseException & | exception | ) |
XML - TBD.
NOTE: Currently this method is not used and may be deleted. Documentation and testing to be completed if called. TargetBody info should be added also.
Definition at line 1520 of file BundleSettings.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 | The qualified name of the tag. |
attributes | The list of attributes for the tag. |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 1336 of file BundleSettings.cpp.
References Isis::Null, Isis::BundleSettings::stringToConvergenceCriteria(), Isis::toBool(), Isis::toDouble(), and Isis::toInt().
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:27 |