Nested class used to write the Control object information to an XML file for the purpose of saving and restoring the state of the project. More...
Public Member Functions | |
XmlHandler (Control *control, FileName cnetFolder) | |
Constructor for the Control object's XmlHandler. More... | |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts) |
Method to read the given XML formatted attribute for a Control object into the XmlHandler. More... | |
virtual void | setReader (XmlStackedHandlerReader *) |
void | switchToNewHandler (XmlStackedHandler *nextHandler) |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName) |
Protected Member Functions | |
XmlStackedHandlerReader * | reader () |
const XmlStackedHandlerReader * | reader () const |
bool | fatalError (const QXmlParseException &exception) |
Private Member Functions | |
Q_DISABLE_COPY (XmlHandler) | |
Private Attributes | |
Control * | m_xmlHandlerControl |
A pointer to the Control object to be read or written. More... | |
FileName | m_xmlHandlerCnetFolderName |
The name of the folder for the control xml. More... | |
Nested class used to write the Control object information to an XML file for the purpose of saving and restoring the state of the project.
Constructor for the Control object's XmlHandler.
control | A pointer to the Control object. |
cnetFolder | The name of the folder for the Control xml |
Definition at line 268 of file Control.cpp.
References m_xmlHandlerCnetFolderName, and m_xmlHandlerControl.
|
virtual |
Method to read the given XML formatted attribute for a Control object into the XmlHandler.
namespaceURI | ??? |
localName | The keyword name given to the member variable in the XML. |
qName | ??? |
atts | The attribute containing the keyword value for the given localName. |
Reimplemented from Isis::XmlStackedHandler.
Definition at line 286 of file Control.cpp.
References Isis::Control::fileName().
|
private |
The name of the folder for the control xml.
Definition at line 102 of file Control.h.
Referenced by XmlHandler().
|
private |
A pointer to the Control object to be read or written.
Definition at line 100 of file Control.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:42:53 |