Isis 3 Programmer Reference
|
Manage a stack of content handlers for reading XML files. More...
#include <XmlStackedHandlerReader.h>
Public Member Functions | |
virtual void | popContentHandler () |
virtual void | pushContentHandler (XmlStackedHandler *newHandler) |
Push a contentHandler and maybe continue parsing... More... | |
XmlStackedHandler * | topContentHandler () |
Private Member Functions | |
Q_DISABLE_COPY (XmlStackedHandlerReader) | |
Private Attributes | |
QStack< XmlStackedHandler * > * | m_contentHandlers |
Manage a stack of content handlers for reading XML files.
This class is designed to work with the XmlStackedHandler class. Use this in-place of a QXmlSimpleReader if you want to use stack-based Xml parsing. The XmlStackedHandler class has an explanation as to how this is designed to work.
Definition at line 25 of file XmlStackedHandlerReader.h.
|
virtual |
Push a contentHandler and maybe continue parsing...
Push a contentHadler on the content handler stack. If there are currently no other handlers on the stack that is all that happens.
If there are other content handlers on the stack it is assumed that a XML file is being processed and processing continues by calling startElement() of the newly pushed handler. In this case pushContentHandler() will not return until the element has been fully processed.
Definition at line 49 of file XmlStackedHandlerReader.cpp.
References Isis::XmlStackedHandler::switchToNewHandler().
Referenced by Isis::BundleObservationSolveSettings::BundleObservationSolveSettings(), Isis::BundleResults::BundleResults(), Isis::BundleSettings::BundleSettings(), Isis::BundleSolutionInfo::BundleSolutionInfo(), Isis::Control::Control(), Isis::ControlList::ControlList(), Isis::TemplateList::XmlHandler::endElement(), Isis::ShapeList::XmlHandler::endElement(), Isis::TargetBodyList::XmlHandler::endElement(), Isis::GuiCameraList::XmlHandler::endElement(), Isis::ImageList::XmlHandler::endElement(), Isis::ControlList::XmlHandler::endElement(), Isis::GuiCameraDisplayProperties::GuiCameraDisplayProperties(), Isis::GuiCameraList::GuiCameraList(), Isis::Image::Image(), Isis::ImageList::ImageList(), Isis::ImageFileListWidget::load(), Isis::CnetEditorView::load(), Isis::Footprint2DView::load(), Isis::Directory::load(), Isis::Project::open(), Isis::WorkOrder::read(), Isis::Shape::Shape(), Isis::ShapeDisplayProperties::ShapeDisplayProperties(), Isis::ShapeList::ShapeList(), Isis::TargetBodyDisplayProperties::TargetBodyDisplayProperties(), Isis::TargetBodyList::TargetBodyList(), Isis::Template::Template(), and Isis::TemplateList::TemplateList().