Isis Developer Reference
XmlStackedHandlerReader.h
Go to the documentation of this file.
1 #ifndef XmlStackedHandlerReader_H
2 #define XmlStackedHandlerReader_H
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include <QXmlSimpleReader>
10 
11 template <typename T> class QStack;
12 
13 namespace Isis {
14  class XmlStackedHandler;
15 
31  public:
34 
35  virtual void popContentHandler();
36  virtual void pushContentHandler(XmlStackedHandler *newHandler);
38 
39  private:
40  Q_DISABLE_COPY(XmlStackedHandlerReader);
41 
42  QStack<XmlStackedHandler *> *m_contentHandlers;
43  };
44 }
45 
46 #endif
Isis::XmlStackedHandlerReader::~XmlStackedHandlerReader
~XmlStackedHandlerReader()
Definition: XmlStackedHandlerReader.cpp:21
QStack
This is free and unencumbered software released into the public domain.
Definition: Calculator.h:17
Isis::XmlStackedHandlerReader::pushContentHandler
virtual void pushContentHandler(XmlStackedHandler *newHandler)
Push a contentHandler and maybe continue parsing...
Definition: XmlStackedHandlerReader.cpp:55
QXmlSimpleReader
Isis::XmlStackedHandlerReader
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:30
Isis::XmlStackedHandlerReader::topContentHandler
XmlStackedHandler * topContentHandler()
Definition: XmlStackedHandlerReader.cpp:71
Isis::XmlStackedHandlerReader::XmlStackedHandlerReader
XmlStackedHandlerReader()
Definition: XmlStackedHandlerReader.cpp:15
Isis::XmlStackedHandler::setReader
virtual void setReader(XmlStackedHandlerReader *)
Definition: XmlStackedHandler.cpp:29
Isis::XmlStackedHandler
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:118
Isis::XmlStackedHandlerReader::popContentHandler
virtual void popContentHandler()
Definition: XmlStackedHandlerReader.cpp:27
Isis::XmlStackedHandler::switchToNewHandler
void switchToNewHandler(XmlStackedHandler *nextHandler)
Switch to a new content handler and continue processing using the new handler.
Definition: XmlStackedHandler.cpp:38
XmlStackedHandlerReader.h
XmlStackedHandler.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16