Isis 3.0 Object Programmers' Reference |
Home |
Public Member Functions | |
XmlHandler (ImageList *imageList, Project *project) | |
Create an XML Handler (reader) that can populate the ImageList class data. | |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
Handle an XML start element. | |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
Handle an XML end element. | |
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 | |
ImageList * | m_imageList |
Project * | m_project |
Definition at line 103 of file ImageList.h.
Create an XML Handler (reader) that can populate the ImageList class data.
See ImageList::save() for the expected format.
imageList | The image list we're going to be initializing |
project | The project that contains the image list |
Definition at line 1024 of file ImageList.cpp.
|
virtual |
Handle an XML end element.
This handles <imageList> by opening and reading the images.xml file.
Reimplemented from Isis::XmlStackedHandler.
Definition at line 1067 of file ImageList.cpp.
References _FILEINFO_, and Isis::IException::Io.
|
virtual |
Handle an XML start element.
This expects <imageList> and <image> elements (it reads both the project XML and the images.xml file).
Reimplemented from Isis::XmlStackedHandler.
Definition at line 1036 of file ImageList.cpp.
References Isis::ImageList::name(), and Isis::ImageList::path().