Nested class used to write the ControlList object information to an XML file for the purposes of saving an restoring the state of the object.
More...
Nested class used to write the ControlList object information to an XML file for the purposes of saving an restoring the state of the object.
- See also
- ControlList::save for the expected format
- Author
- 2012-09-27 Tracie Sucharski - Adapted from ImageList::XmlHandler
- History
- 2012-09-27 Tracie Sucharski - Original version.
Definition at line 152 of file ControlList.h.
◆ XmlHandler()
Isis::ControlList::XmlHandler::XmlHandler |
( |
ControlList * | controlList, |
|
|
Project * | project ) |
Create an XML Handler (reader/writer) that can populate the ControlList class data.
See ControlList::save() for the expected format.
- Parameters
-
controlList | The control list we're going to be initializing |
project | The project that contains the control list |
Definition at line 738 of file ControlList.cpp.
◆ endElement()
bool Isis::ControlList::XmlHandler::endElement |
( |
const QString & | namespaceURI, |
|
|
const QString & | localName, |
|
|
const QString & | qName ) |
|
virtual |
◆ fatalError()
bool Isis::XmlStackedHandler::fatalError |
( |
const QXmlParseException & | exception | ) |
|
|
protectedinherited |
◆ reader() [1/2]
◆ reader() [2/2]
◆ setReader()
◆ startElement()
bool Isis::ControlList::XmlHandler::startElement |
( |
const QString & | namespaceURI, |
|
|
const QString & | localName, |
|
|
const QString & | qName, |
|
|
const QXmlAttributes & | atts ) |
|
virtual |
Handle an XML start element.
This expects <controlList> and <control> elements (it reads both the project XML and the controls.xml file).
- Parameters
-
namespaceURI | ??? |
localName | The keyword name given to the member variable in the XML |
qName | ??? |
atts | The attribute containing the keyword value given for the given localName |
- Returns
- bool If we should continue reading the XML (usually true).
Reimplemented from Isis::XmlStackedHandler.
Definition at line 755 of file ControlList.cpp.
References Isis::ControlList::name(), and Isis::ControlList::path().
◆ switchToNewHandler()
Switch to a new content handler and continue processing using the new handler.
Definition at line 37 of file XmlStackedHandler.cpp.
◆ m_controlList
ControlList* Isis::ControlList::XmlHandler::m_controlList |
|
private |
◆ m_depth
int Isis::XmlStackedHandler::m_depth |
|
privateinherited |
◆ m_lastStartAtts
QXmlAttributes Isis::XmlStackedHandler::m_lastStartAtts |
|
privateinherited |
◆ m_lastStartLocalName
QString Isis::XmlStackedHandler::m_lastStartLocalName |
|
privateinherited |
◆ m_lastStartNamespaceURI
QString Isis::XmlStackedHandler::m_lastStartNamespaceURI |
|
privateinherited |
◆ m_lastStartQName
QString Isis::XmlStackedHandler::m_lastStartQName |
|
privateinherited |
◆ m_project
Project* Isis::ControlList::XmlHandler::m_project |
|
private |
◆ m_reader
The documentation for this class was generated from the following files: