Isis 3 Programmer Reference
|
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) |
Switch to a new content handler and continue processing using the new handler. More... | |
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... | |
XmlStackedHandlerReader * | m_reader |
int | m_depth |
QString | m_lastStartNamespaceURI |
QString | m_lastStartLocalName |
QString | m_lastStartQName |
QXmlAttributes | m_lastStartAtts |
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 393 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 411 of file Control.cpp.
References Isis::Control::fileName().
|
inherited |
Switch to a new content handler and continue processing using the new handler.
Definition at line 38 of file XmlStackedHandler.cpp.
Referenced by Isis::XmlStackedHandlerReader::pushContentHandler().
|
private |
The name of the folder for the control xml.
Definition at line 118 of file Control.h.
Referenced by XmlHandler().
|
private |
A pointer to the Control object to be read or written.
Definition at line 116 of file Control.h.
Referenced by XmlHandler().