34 class QXmlStreamWriter;
37 class ControlDisplayProperties;
94 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
95 const QString &qName,
const QXmlAttributes &atts);
98 Q_DISABLE_COPY(XmlHandler);
102 FileName m_xmlHandlerCnetFolderName;
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:57
The main project for cnetsuite.
Definition: Project.h:105
void deleteFromDisk()
Delete the control net from disk.
Definition: Control.cpp:210
File name manipulation and expansion.
Definition: FileName.h:111
Control(QString cnetFileName, QObject *parent=0)
Create a Control from control net located on disk.
Definition: Control.cpp:27
void copyToNewProjectRoot(const Project *project, FileName newProjectRoot)
Copies the files of the given Project to the given location.
Definition: Control.cpp:193
Q_DECLARE_METATYPE(Isis::Cube *)
This allows Cube *'s to be stored in a QVariant.
QString id() const
Access the unique ID associated with this Control.
Definition: Control.cpp:181
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Method to write this Control object's member data to an XML stream.
Definition: Control.cpp:248
void closeControlNet()
Cleans up the ControlNet pointer.
Definition: Control.cpp:138
This is the GUI communication mechanism for cubes.
Definition: ControlDisplayProperties.h:73
void openControlNet()
Sets the ControlNet from the control net file name provided in the constructor.
Definition: Control.cpp:121
a control network
Definition: ControlNet.h:207
~Control()
Destroys Control object.
Definition: Control.cpp:85
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:47
QString fileName() const
Access the name of the control network file associated with this Control.
Definition: Control.cpp:171
void updateFileName(Project *)
Change the on-disk file name for this control to be where the control ought to be in the given projec...
Definition: Control.cpp:230
ControlNet * controlNet()
Open and return a pointer to the ControlNet for this Control.
Definition: Control.cpp:106
ControlDisplayProperties * displayProperties()
Access a pointer to the display properties for the control network.
Definition: Control.cpp:151
his enables stack-based XML parsing of XML files.
Definition: XmlStackedHandlerReader.h:26