This class is used to read an images.xml file into an image list. More...
Public Member Functions | |
XmlHandler (BundleSolutionInfo *bundleSolutionInfo, Project *project) | |
Create an XML Handler (reader) that can populate the BundleSolutionInfo class data. More... | |
~XmlHandler () | |
Destructor. 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 characters to m_xmlHandlerCharacters. More... | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
Handle an XML end element. More... | |
virtual void | setReader (XmlStackedHandlerReader *) |
void | switchToNewHandler (XmlStackedHandler *nextHandler) |
Protected Member Functions | |
XmlStackedHandlerReader * | reader () |
const XmlStackedHandlerReader * | reader () const |
bool | fatalError (const QXmlParseException &exception) |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) | |
Private Attributes | |
BundleSolutionInfo * | m_xmlHandlerBundleSolutionInfo |
The bundleSolutionInfo object. More... | |
Project * | m_xmlHandlerProject |
QString | m_xmlHandlerCharacters |
List of characters that have been handled. More... | |
QList< ImageList * > * | m_xmlHandlerImages |
List of pointers to images. More... | |
BundleSettingsQsp | m_xmlHandlerBundleSettings |
Settings used to run the bundle adjust. More... | |
BundleResults * | m_xmlHandlerBundleResults |
Results from the bundle adjust. More... | |
This class is used to read an images.xml file into an image list.
Definition at line 164 of file BundleSolutionInfo.h.
Isis::BundleSolutionInfo::XmlHandler::XmlHandler | ( | BundleSolutionInfo * | bundleSolutionInfo, |
Project * | project | ||
) |
Create an XML Handler (reader) that can populate the BundleSolutionInfo class data.
See BundleSolutionInfo::save() for the expected format.
bundleSolutionInfo | The bundle solution we're going to be initializing |
project | The project we are working in |
Definition at line 321 of file BundleSolutionInfo.cpp.
References m_xmlHandlerBundleResults, m_xmlHandlerBundleSolutionInfo, m_xmlHandlerCharacters, and m_xmlHandlerImages.
Isis::BundleSolutionInfo::XmlHandler::~XmlHandler | ( | ) |
Destructor.
Definition at line 335 of file BundleSolutionInfo.cpp.
|
virtual |
Adds characters to m_xmlHandlerCharacters.
ch | QString of characters to add |
Definition at line 397 of file BundleSolutionInfo.cpp.
|
virtual |
Handle an XML end element.
namespaceURI | ??? |
localName | The keyword name given to the member variable in the XML. |
qName | ??? |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 412 of file BundleSolutionInfo.cpp.
|
virtual |
Handle an XML start element.
This expects <image> and <displayProperties> elements.
namespaceURI | ??? |
localName | The keyword name given to the member variable in the XML. |
qName | ??? |
atts | The attribute containing the keyword value for the given local name. |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 363 of file BundleSolutionInfo.cpp.
|
private |
Results from the bundle adjust.
Definition at line 184 of file BundleSolutionInfo.h.
Referenced by XmlHandler().
|
private |
Settings used to run the bundle adjust.
Definition at line 183 of file BundleSolutionInfo.h.
|
private |
The bundleSolutionInfo object.
Definition at line 179 of file BundleSolutionInfo.h.
Referenced by XmlHandler().
|
private |
List of characters that have been handled.
Definition at line 181 of file BundleSolutionInfo.h.
Referenced by XmlHandler().
List of pointers to images.
Definition at line 182 of file BundleSolutionInfo.h.
Referenced by XmlHandler().
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:34 |