Isis 3 Programmer Reference
|
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... | |
QString | surfacePointCoordName (SurfacePoint::CoordinateType type, SurfacePoint::CoordIndex coordIdx) const |
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 | |
BundleSolutionInfo * | m_xmlHandlerBundleSolutionInfo |
The bundleSolutionInfo object. More... | |
Project * | m_xmlHandlerProject |
QString | m_xmlHandlerCharacters |
List of characters that have been handled. More... | |
This class is used to read an images.xml file into an image list.
Definition at line 237 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 1762 of file BundleSolutionInfo.cpp.
References m_xmlHandlerBundleSolutionInfo, and m_xmlHandlerCharacters.
Isis::BundleSolutionInfo::XmlHandler::~XmlHandler | ( | ) |
Destructor.
Definition at line 1773 of file BundleSolutionInfo.cpp.
|
virtual |
Adds characters to m_xmlHandlerCharacters.
ch | QString of characters to add |
Definition at line 1784 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 1840 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 1800 of file BundleSolutionInfo.cpp.
|
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().
|
private |
The bundleSolutionInfo object.
Definition at line 254 of file BundleSolutionInfo.h.
Referenced by XmlHandler().
|
private |
List of characters that have been handled.
Definition at line 256 of file BundleSolutionInfo.h.
Referenced by XmlHandler().