Isis 3.0 Object Programmers' Reference |
Home |
Public Member Functions | |
XmlHandler (ControlList *controlList, Project *project) | |
Create an XML Handler (reader) that can populate the ControlList 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 |
bool | fatalError (const QXmlParseException &exception) |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) |
Private Attributes | |
ControlList * | m_controlList |
Project * | m_project |
Definition at line 132 of file ControlList.h.
Isis::ControlList::XmlHandler::XmlHandler | ( | ControlList * | controlList, |
Project * | project | ||
) |
Create an XML Handler (reader) that can populate the ControlList class data.
See ControlList::save() for the expected format.
controlList | The control list we're going to be initializing |
project | The project that contains the control list |
Definition at line 591 of file ControlList.cpp.
|
virtual |
Handle an XML end element.
This handles <controlList> by opening and reading the controls.xml file.
Reimplemented from Isis::XmlStackedHandler.
Definition at line 634 of file ControlList.cpp.
References _FILEINFO_, and Isis::IException::Io.
|
virtual |
Handle an XML start element.
This expects <controlList> and <control> elements (it reads both the project XML and the controls.xml file).
Reimplemented from Isis::XmlStackedHandler.
Definition at line 603 of file ControlList.cpp.
References Isis::ControlList::name(), and Isis::ControlList::path().