#include <XmlController.h>
Inheritance diagram for XmlController:
It implements the application logic which should not be in the GUI. Following the template pattern, several pure virtual member functions must be implemented in a derived class to provide a concrete implementation. The derived class will probably use an extern XML C++ tool kit, while this class is independent of any XML implementation.
Definition at line 53 of file XmlController.h.
Public Types | |
enum | Status { Success, OpenError, ParseError, NTupleError } |
Return codes of opening file. More... | |
Public Member Functions | |
virtual XmlElement * | addDataSource (const DataSource *ntuple) |
Adds the DataSource to the document if it doesn't already exist. | |
void | addViews (const std::vector< const ViewBase * > &views) |
Adds ViewBase elements to the root of the document. | |
bool | areDataSourcesSaved (const std::vector< const ViewBase * > &views) |
Returns true if all the NTuple objects used by the views have been saved to or read from a file. | |
PlotterBase * | createDisplay () |
Creates a new empty display and makes it the current one. | |
virtual void | createDocument (const std::string &doc_name) |
Creates an DOM Document with name doc_name. | |
FontBase * | createFont () const |
Creates a empty QtFont object. | |
ViewBase * | createView (PlotterBase *) |
Creates a new view for the current PlotterBase object and adds it to the list of views. | |
virtual bool | fileExists (const std::string &filename) const =0 |
Returns true if the specified file exists. | |
DataRep * | getDataRep (int ref) |
Returns a pointer to the DataRep from the xml reference Id. | |
const DataSource * | getDataSource (int ref_id) |
Returns pointer to data source from the xml reference ID. | |
const std::list< ViewBase * > & | getFromPasteboard (ViewFactory *factory, const std::vector< const ViewBase * > &views) |
Creates and returns a list of objects that was copied to the pasteboard. | |
const std::list< ViewBase * > & | getFromSelectionCopy (ViewFactory *factory, const std::vector< const ViewBase * > &views) |
Creates and returns objects that were copied to the selection copy. | |
int | getId (const void *address) |
Returns the unique integer identifier for given address. | |
std::list< std::string > & | getMissingTuples () |
Return a list of missing tuples. | |
PlotterBase * | getPlotter (int ref) |
Returns a pointer to the PlotterBase object from the XML refereed Id. | |
const TupleCut * | getTupleCut (int ref_id) |
Returns pointer to the TupleCut from the xml reference Id. | |
virtual const std::list< ViewBase * > & | getViews (ViewFactory *) |
Returns the list of views in the current document. | |
bool | isPasteboardEmpty () |
Returns true if global pasteboard is empty. | |
Status | openFile (const std::string &filename) |
Attempts to open and parse the specified HippoDraw document. | |
virtual Status | openUpdatedNTuples () |
Open the missing tuples updated by GUI. | |
void | registerPlotter (int id, PlotterBase *plotter) |
Registers the plotter with id. | |
Status | saveToFile (const std::vector< const ViewBase * > &views, const std::string &filename) |
Saves the document represented by list of ViewBase objects to file with name filename. | |
void | saveToPasteboard (const std::vector< const ViewBase * > &) |
Saves the document represented by the list of ViewBase objects to the pasteboard. | |
void | saveToSelectionCopy (const std::vector< const ViewBase * > &views) |
Saves the document represented by the list of ViewBase objects to the selection copy. | |
virtual bool | serializeViews (const std::vector< const ViewBase * > &views) |
Serializes the ViewBase objects in views and their appropriate subcomponents. | |
virtual | ~XmlController () |
The destructor. | |
Static Public Attributes | |
static XmlDocument * | m_xml_doc = 0 |
The current document being generated or read. | |
Protected Member Functions | |
XmlController () | |
A default constructor for avoiding creation except by itself or with derived classes. | |
Private Types | |
typedef std::map< const void *, int >::iterator | AddrMapIterator_t |
The iterator for memory address to unique integer identifier. | |
Private Member Functions | |
void | clearDataSourceMap () |
Deletes each element in the map and clears the map. | |
void | fillNTupleMap () |
Fills the NTuple map with NTuple objects currently in memory. | |
void | fillTupleCutMap (const std::vector< const ViewBase * > &views) |
Fills the TupleCut map with TupleCut objecs contained in one in the list of views. | |
void | getDataReps () |
Creates all the DataRep objects and fills the reference map. | |
const std::list< ViewBase * > & | getFromDocument (ViewFactory *facotry, const std::vector< const ViewBase * > &views) |
Restores the views in the current document. | |
void | getTupleCuts () |
Creates all the TupleCut objects and fills the reference map. | |
void | getViews (const XmlElement *root) |
Creates the ViewBase objects described in the root XML element. | |
virtual void | getViews () |
De-serializes the ViewBase objects. | |
virtual void | newDocument (const std::string &name)=0 |
Creates a new document. | |
virtual Status | openDocument (const std::string &filename) |
Opens an existing DOM Document file filename. | |
virtual Status | openNTuples () |
Attempts to open ntuple files in the current document and put them into the map. | |
void | saveToDocument (const std::vector< const ViewBase * > &selviews) |
Save the ViewBase objects in selview to a XML in memory document. | |
XmlController (const XmlController &) | |
A private copy constructor in order to avoid copying. | |
Private Attributes | |
std::map< const void *, int > | m_addr_map |
The map of memory address to unique integer identifier. | |
std::map< const DataSource *, XmlElement * > | m_data |
The map of data sources to XmlElements for the current document. | |
std::map< int, DataRep * > | m_datarep_map |
A mapping from DataRep Id to created DataRep. | |
DataRepXML * | m_datarep_xml |
The singleton instance of the DataRepXML object. | |
XmlElement * | m_element |
The XmlElement object used to parse the DOM tree. | |
int | m_id |
The next integer identifier to be generated. | |
std::vector< int > | m_missing_ids |
A vector of the ids in the Xml file of the missing NTuples. | |
std::list< std::string > | m_missing_tuples |
A list of missing NTuples. | |
HiNTupleXML * | m_ntuple |
The singleton instance of the XML handler for data source. | |
XmlDocument * | m_pasteboard |
The pasteboard object. | |
std::map< int, PlotterBase * > | m_plotter_map |
The mapping from PlotterBase Id to created PlotterBase. | |
XmlDocument * | m_selectboard |
A copy of a selection. | |
std::map< int, const TupleCut * > | m_tuple_cut_map |
A mapping from XML id to created TupleCut. | |
TupleCutXML * | m_tuple_cut_xml |
The singleton instance of the XML handler for TupleCut objects. | |
std::map< int, const DataSource * > | m_tuple_map |
A mapping from XML id to created data sources. | |
ViewBaseXML * | m_view |
The singleton instance of a ViewBaseXML object. | |
ViewFactory * | m_view_factory |
The factory to be used for creating views. | |
std::list< ViewBase * > | m_views |
A list of reconstructed views. |
typedef std::map< const void *, int >::iterator AddrMapIterator_t [private] |
The iterator for memory address to unique integer identifier.
Definition at line 116 of file XmlController.h.
enum Status |
XmlController | ( | const XmlController & | ) | [private] |
A private copy constructor in order to avoid copying.
XmlController | ( | ) | [protected] |
A default constructor for avoiding creation except by itself or with derived classes.
Definition at line 44 of file XmlController.cxx.
References XmlController::m_datarep_xml, XmlController::m_ntuple, XmlController::m_tuple_cut_xml, and XmlController::m_view.
~XmlController | ( | ) | [virtual] |
The destructor.
Definition at line 55 of file XmlController.cxx.
References XmlController::m_datarep_xml, XmlController::m_ntuple, XmlController::m_pasteboard, XmlController::m_tuple_cut_xml, and XmlController::m_view.
XmlElement * addDataSource | ( | const DataSource * | ntuple | ) | [virtual] |
Adds the DataSource to the document if it doesn't already exist.
Returns the Dom element corresponding to the DataSource.
Definition at line 331 of file XmlController.cxx.
References XmlNode::appendChild(), HiNTupleXML::createElement(), XmlDocument::documentElement(), XmlController::m_data, XmlController::m_ntuple, and XmlController::m_xml_doc.
Referenced by NTupleProjectorXML::createElement().
void addViews | ( | const std::vector< const ViewBase * > & | views | ) |
Adds ViewBase elements to the root of the document.
Definition at line 302 of file XmlController.cxx.
References XmlNode::appendChild(), ViewBaseXML::createElement(), XmlDocument::documentElement(), XmlController::m_view, and XmlController::m_xml_doc.
Referenced by XmlController::serializeViews().
bool areDataSourcesSaved | ( | const std::vector< const ViewBase * > & | views | ) |
Returns true
if all the NTuple objects used by the views have been saved to or read from a file.
Definition at line 213 of file XmlController.cxx.
References ViewBaseXML::areDataSourcesSaved(), and XmlController::m_view.
Referenced by CanvasWindow::areDataSourcesSaved().
void clearDataSourceMap | ( | ) | [private] |
Deletes each element in the map and clears the map.
Definition at line 244 of file XmlController.cxx.
References XmlController::m_data.
Referenced by XmlController::saveToDocument(), and XmlController::saveToFile().
PlotterBase* createDisplay | ( | ) |
Creates a new empty display and makes it the current one.
void createDocument | ( | const std::string & | doc_name | ) | [virtual] |
Creates an DOM Document with name doc_name.
The document becomes the current document.
Definition at line 66 of file XmlController.cxx.
References XmlDocument::appendChild(), XmlDocument::createElement(), XmlController::m_xml_doc, and XmlController::newDocument().
Referenced by XmlController::serializeViews().
FontBase * createFont | ( | ) | const |
Creates a empty QtFont object.
Definition at line 326 of file XmlController.cxx.
References XmlController::m_view_factory.
ViewBase * createView | ( | PlotterBase * | ) |
Creates a new view for the current PlotterBase object and adds it to the list of views.
Definition at line 316 of file XmlController.cxx.
References ViewFactory::createView(), XmlController::m_view_factory, and XmlController::m_views.
Referenced by ViewBaseXML::getObjects().
virtual bool fileExists | ( | const std::string & | filename | ) | const [pure virtual] |
void fillNTupleMap | ( | ) | [private] |
Fills the NTuple map with NTuple objects currently in memory.
Definition at line 407 of file XmlController.cxx.
References DataSourceController::getDataSources(), XmlController::getId(), DataSourceController::instance(), and XmlController::m_tuple_map.
Referenced by XmlController::getFromDocument().
void fillTupleCutMap | ( | const std::vector< const ViewBase * > & | views | ) | [private] |
Fills the TupleCut map with TupleCut objecs contained in one in the list of views.
Definition at line 425 of file XmlController.cxx.
References CutController::fillTupleCutList(), XmlController::getId(), CutController::instance(), and XmlController::m_tuple_cut_map.
Referenced by XmlController::getFromDocument().
DataRep * getDataRep | ( | int | ref | ) |
Returns a pointer to the DataRep from the xml reference Id.
Definition at line 376 of file XmlController.cxx.
References XmlController::m_datarep_map.
Referenced by DataRepXML::createObject(), PlotterBaseXML::getCutTargets(), PlotterBaseXML::getObject(), PlotterBaseXML::handleFunction(), and PlotterBaseXML::handleTextPlotter().
void getDataReps | ( | ) | [private] |
Creates all the DataRep objects and fills the reference map.
Definition at line 442 of file XmlController.cxx.
References DataRepXML::createObject(), XmlDocument::documentElement(), BaseXML::fillNodeList(), XmlController::m_datarep_map, XmlController::m_datarep_xml, and XmlController::m_xml_doc.
Referenced by XmlController::getViews().
const DataSource * getDataSource | ( | int | ref_id | ) |
Returns pointer to data source from the xml reference ID.
Definition at line 348 of file XmlController.cxx.
References XmlController::m_tuple_map.
Referenced by DataRepXML::createDataRep().
const list< ViewBase * > & getFromDocument | ( | ViewFactory * | facotry, | |
const std::vector< const ViewBase * > & | views | |||
) | [private] |
Restores the views in the current document.
Definition at line 186 of file XmlController.cxx.
References CutController::connectDataRep(), XmlController::fillNTupleMap(), XmlController::fillTupleCutMap(), XmlController::getViews(), CutController::instance(), XmlController::m_view_factory, and XmlController::m_views.
Referenced by XmlController::getFromPasteboard(), and XmlController::getFromSelectionCopy().
const list< ViewBase * > & getFromPasteboard | ( | ViewFactory * | factory, | |
const std::vector< const ViewBase * > & | views | |||
) |
Creates and returns a list of objects that was copied to the pasteboard.
The parameter views is used when the an object makes a reference to object already on the canvas. For example, if an object was a DataRep with a TupleCut applied, then newly created object needs to have a reference to that TupleCut.
Definition at line 166 of file XmlController.cxx.
References XmlController::getFromDocument(), XmlController::m_pasteboard, and XmlController::m_xml_doc.
Referenced by CanvasView::addFromPasteboard(), and CanvasView::copyFromPasteboard().
const list< ViewBase * > & getFromSelectionCopy | ( | ViewFactory * | factory, | |
const std::vector< const ViewBase * > & | views | |||
) |
Creates and returns objects that were copied to the selection copy.
Definition at line 176 of file XmlController.cxx.
References XmlController::getFromDocument(), XmlController::m_selectboard, and XmlController::m_xml_doc.
Referenced by CanvasView::restoreFromSelectCopy().
int getId | ( | const void * | address | ) |
Returns the unique integer identifier for given address.
Definition at line 515 of file XmlController.cxx.
References XmlController::m_addr_map, and XmlController::m_id.
Referenced by XmlController::fillNTupleMap(), and XmlController::fillTupleCutMap().
std::list< std::string > & getMissingTuples | ( | ) |
Return a list of missing tuples.
Will be updated by the GUI and try to open them again.
Definition at line 532 of file XmlController.cxx.
References XmlController::m_missing_tuples.
PlotterBase * getPlotter | ( | int | ref | ) |
Returns a pointer to the PlotterBase object from the XML refereed Id.
Definition at line 388 of file XmlController.cxx.
References XmlController::m_plotter_map.
const TupleCut * getTupleCut | ( | int | ref_id | ) |
Returns pointer to the TupleCut from the xml reference Id.
Definition at line 359 of file XmlController.cxx.
References XmlController::m_tuple_cut_map.
Referenced by PlotterBaseXML::handleCutPlotter().
void getTupleCuts | ( | ) | [private] |
Creates all the TupleCut objects and fills the reference map.
Definition at line 462 of file XmlController.cxx.
References XmlDocument::documentElement(), BaseXML::fillNodeList(), TupleCutXML::getObject(), XmlController::m_tuple_cut_map, XmlController::m_tuple_cut_xml, and XmlController::m_xml_doc.
Referenced by XmlController::getViews().
const list< ViewBase * > & getViews | ( | ViewFactory * | ) | [virtual] |
Returns the list of views in the current document.
The views are created using the specified view factory.
Definition at line 202 of file XmlController.cxx.
References XmlController::getViews(), XmlController::m_view_factory, XmlController::m_views, and XmlController::m_xml_doc.
void getViews | ( | const XmlElement * | root | ) | [private] |
Creates the ViewBase objects described in the root XML element.
void getViews | ( | ) | [private, virtual] |
De-serializes the ViewBase objects.
Definition at line 490 of file XmlController.cxx.
References XmlDocument::documentElement(), BaseXML::fillNodeList(), XmlController::getDataReps(), ViewBaseXML::getObjects(), XmlController::getTupleCuts(), XmlController::m_view, XmlController::m_views, and XmlController::m_xml_doc.
Referenced by XmlController::getFromDocument(), XmlController::getViews(), and CanvasView::initFromFile().
bool isPasteboardEmpty | ( | ) |
Returns true
if global pasteboard is empty.
Definition at line 159 of file XmlController.cxx.
References XmlController::m_pasteboard.
virtual void newDocument | ( | const std::string & | name | ) | [private, pure virtual] |
Creates a new document.
A derived class should set the member m_xml_doc to point to a concrete class derived from the abstract class XmlDocument.
Implemented in QtXMLController.
Referenced by XmlController::createDocument(), and XmlController::openDocument().
XmlController::Status openDocument | ( | const std::string & | filename | ) | [private, virtual] |
Opens an existing DOM Document file filename.
The application's current directory will be set to the path to the file.
Definition at line 77 of file XmlController.cxx.
References XmlController::m_xml_doc, XmlController::newDocument(), XmlController::OpenError, XmlDocument::OpenError, XmlController::ParseError, XmlDocument::ParseError, XmlDocument::setContent(), and XmlController::Success.
Referenced by XmlController::openFile().
XmlController::Status openFile | ( | const std::string & | filename | ) |
Attempts to open and parse the specified HippoDraw document.
Returns Success if successful, otherwise returns another member of the OpenStatus enumeration.
Definition at line 90 of file XmlController.cxx.
References XmlController::m_tuple_cut_map, XmlController::m_tuple_map, XmlController::m_views, XmlController::openDocument(), XmlController::openNTuples(), and XmlController::Success.
Referenced by CanvasView::initFromFile().
XmlController::Status openNTuples | ( | ) | [private, virtual] |
Attempts to open ntuple files in the current document and put them into the map.
Returns Success if successful, otherwise returns NTupleError.
Definition at line 104 of file XmlController.cxx.
References XmlDocument::documentElement(), BaseXML::fillNodeList(), HiNTupleXML::getName(), HiNTupleXML::getObject(), XmlController::m_missing_ids, XmlController::m_missing_tuples, XmlController::m_ntuple, XmlController::m_tuple_map, XmlController::m_xml_doc, XmlController::NTupleError, and XmlController::Success.
Referenced by XmlController::openFile().
XmlController::Status openUpdatedNTuples | ( | ) | [virtual] |
Open the missing tuples updated by GUI.
Definition at line 135 of file XmlController.cxx.
References HiNTupleXML::getObject(), XmlController::m_missing_ids, XmlController::m_missing_tuples, XmlController::m_ntuple, XmlController::m_tuple_map, XmlController::NTupleError, and XmlController::Success.
Referenced by CanvasView::initFromFile().
void registerPlotter | ( | int | id, | |
PlotterBase * | plotter | |||
) |
Registers the plotter with id.
Definition at line 400 of file XmlController.cxx.
References XmlController::m_plotter_map.
void saveToDocument | ( | const std::vector< const ViewBase * > & | selviews | ) | [private] |
Save the ViewBase objects in selview to a XML in memory document.
If an ViewBase objects in allviews is an Observer of of one in selviews, then save it as well.
Definition at line 257 of file XmlController.cxx.
References XmlController::clearDataSourceMap(), XmlController::m_addr_map, and XmlController::serializeViews().
Referenced by XmlController::saveToPasteboard(), and XmlController::saveToSelectionCopy().
XmlController::Status saveToFile | ( | const std::vector< const ViewBase * > & | views, | |
const std::string & | filename | |||
) |
Saves the document represented by list of ViewBase objects to file with name filename.
Returns 0 if successful.
Definition at line 286 of file XmlController.cxx.
References XmlController::clearDataSourceMap(), XmlController::m_addr_map, XmlController::m_xml_doc, XmlController::OpenError, XmlDocument::saveToFile(), XmlController::serializeViews(), XmlController::Success, and XmlDocument::Success.
Referenced by CanvasView::saveAs().
void saveToPasteboard | ( | const std::vector< const ViewBase * > & | ) |
Saves the document represented by the list of ViewBase objects to the pasteboard.
If any ViewBase objects in allviews is an Observer of selviews, then save it as well. Returns the list of ViewBase objects actually saved to pasteboard.
Definition at line 266 of file XmlController.cxx.
References XmlController::m_pasteboard, XmlController::m_xml_doc, and XmlController::saveToDocument().
Referenced by CanvasView::copySelectedToPasteboard(), and CanvasView::deleteSelected().
void saveToSelectionCopy | ( | const std::vector< const ViewBase * > & | views | ) |
Saves the document represented by the list of ViewBase objects to the selection copy.
If any ViewBase objects in allviews is an Observer of selviews, then save it as well. Returns the list of ViewBase objects actually saved to pasteboard.
Definition at line 276 of file XmlController.cxx.
References XmlController::m_selectboard, XmlController::m_xml_doc, and XmlController::saveToDocument().
Referenced by CanvasView::contentsMousePressEvent().
bool serializeViews | ( | const std::vector< const ViewBase * > & | views | ) | [virtual] |
Serializes the ViewBase objects in views and their appropriate subcomponents.
Returns true
if successful, otherwise returns false
.
Definition at line 231 of file XmlController.cxx.
References XmlController::addViews(), XmlController::createDocument(), and XmlController::m_xml_doc.
Referenced by XmlController::saveToDocument(), and XmlController::saveToFile().
std::map< const void *, int > m_addr_map [private] |
The map of memory address to unique integer identifier.
Definition at line 112 of file XmlController.h.
Referenced by XmlController::getId(), XmlController::saveToDocument(), and XmlController::saveToFile().
std::map< const DataSource *, XmlElement * > m_data [private] |
The map of data sources to XmlElements for the current document.
Definition at line 108 of file XmlController.h.
Referenced by XmlController::addDataSource(), and XmlController::clearDataSourceMap().
std::map< int, DataRep * > m_datarep_map [private] |
A mapping from DataRep Id to created DataRep.
Definition at line 129 of file XmlController.h.
Referenced by XmlController::getDataRep(), and XmlController::getDataReps().
DataRepXML* m_datarep_xml [private] |
The singleton instance of the DataRepXML object.
Definition at line 138 of file XmlController.h.
Referenced by XmlController::getDataReps(), XmlController::XmlController(), and XmlController::~XmlController().
XmlElement* m_element [private] |
int m_id [private] |
The next integer identifier to be generated.
Definition at line 120 of file XmlController.h.
Referenced by XmlController::getId().
std::vector< int > m_missing_ids [private] |
A vector of the ids in the Xml file of the missing NTuples.
Definition at line 75 of file XmlController.h.
Referenced by XmlController::openNTuples(), and XmlController::openUpdatedNTuples().
std::list< std::string > m_missing_tuples [private] |
A list of missing NTuples.
Definition at line 71 of file XmlController.h.
Referenced by XmlController::getMissingTuples(), XmlController::openNTuples(), and XmlController::openUpdatedNTuples().
HiNTupleXML* m_ntuple [private] |
The singleton instance of the XML handler for data source.
Definition at line 141 of file XmlController.h.
Referenced by XmlController::addDataSource(), XmlController::openNTuples(), XmlController::openUpdatedNTuples(), XmlController::XmlController(), and XmlController::~XmlController().
XmlDocument* m_pasteboard [private] |
The pasteboard object.
Definition at line 99 of file XmlController.h.
Referenced by XmlController::getFromPasteboard(), XmlController::isPasteboardEmpty(), XmlController::saveToPasteboard(), and XmlController::~XmlController().
std::map< int, PlotterBase * > m_plotter_map [private] |
The mapping from PlotterBase Id to created PlotterBase.
Definition at line 132 of file XmlController.h.
Referenced by XmlController::getPlotter(), and XmlController::registerPlotter().
XmlDocument* m_selectboard [private] |
A copy of a selection.
Definition at line 102 of file XmlController.h.
Referenced by XmlController::getFromSelectionCopy(), and XmlController::saveToSelectionCopy().
std::map< int, const TupleCut * > m_tuple_cut_map [private] |
A mapping from XML id to created TupleCut.
Definition at line 126 of file XmlController.h.
Referenced by XmlController::fillTupleCutMap(), XmlController::getTupleCut(), XmlController::getTupleCuts(), and XmlController::openFile().
TupleCutXML* m_tuple_cut_xml [private] |
The singleton instance of the XML handler for TupleCut objects.
Definition at line 144 of file XmlController.h.
Referenced by XmlController::getTupleCuts(), XmlController::XmlController(), and XmlController::~XmlController().
std::map< int, const DataSource * > m_tuple_map [private] |
A mapping from XML id to created data sources.
Definition at line 123 of file XmlController.h.
Referenced by XmlController::fillNTupleMap(), XmlController::getDataSource(), XmlController::openFile(), XmlController::openNTuples(), and XmlController::openUpdatedNTuples().
ViewBaseXML* m_view [private] |
The singleton instance of a ViewBaseXML object.
Definition at line 135 of file XmlController.h.
Referenced by XmlController::addViews(), XmlController::areDataSourcesSaved(), XmlController::getViews(), XmlController::XmlController(), and XmlController::~XmlController().
ViewFactory* m_view_factory [private] |
The factory to be used for creating views.
Definition at line 64 of file XmlController.h.
Referenced by XmlController::createFont(), XmlController::createView(), XmlController::getFromDocument(), and XmlController::getViews().
A list of reconstructed views.
Definition at line 105 of file XmlController.h.
Referenced by XmlController::createView(), XmlController::getFromDocument(), XmlController::getViews(), and XmlController::openFile().
XmlDocument * m_xml_doc = 0 [static] |
The current document being generated or read.
This member is made public so that element creator that need it do not need to have it passed as argument.
Definition at line 194 of file XmlController.h.
Referenced by XmlController::addDataSource(), XmlController::addViews(), NTupleProjectorXML::createChildren(), NTupleXML::createChildren2D(), NTupleXML::createChildren3D(), PlotterBaseXML::createCutChildren(), XmlController::createDocument(), TupleCutXML::createElement(), BinToColorXML::createElement(), BaseXML::createElement(), DataRepXML::createFunctionTargetChild(), PlotterBaseXML::createTextChildren(), XmlController::getDataReps(), XmlController::getFromPasteboard(), XmlController::getFromSelectionCopy(), XmlController::getTupleCuts(), XmlController::getViews(), QtXMLController::newDocument(), XmlController::openDocument(), XmlController::openNTuples(), XmlController::saveToFile(), XmlController::saveToPasteboard(), XmlController::saveToSelectionCopy(), and XmlController::serializeViews().