Isis 3 Programmer Reference
XmlStackedHandlerReader.h
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
30
class
XmlStackedHandlerReader
:
public
QXmlSimpleReader
{
31
public
:
32
XmlStackedHandlerReader
();
33
~
XmlStackedHandlerReader
();
34
35
virtual
void
popContentHandler();
36
virtual
void
pushContentHandler
(
XmlStackedHandler
*newHandler);
37
XmlStackedHandler
*topContentHandler();
38
39
private
:
40
Q_DISABLE_COPY(
XmlStackedHandlerReader
);
41
42
QStack<XmlStackedHandler *>
*m_contentHandlers;
43
};
44
}
45
46
#endif
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::XmlStackedHandler
XML Handler that parses XMLs in a stack-oriented way.
Definition:
XmlStackedHandler.h:118
Isis
This is free and unencumbered software released into the public domain.
Definition:
Apollo.h:16
src
base
objs
XmlStackedHandlerReader
XmlStackedHandlerReader.h