granatier
#include <mapparser.h>
Public Member Functions | |
MapParser (Arena *p_arena) | |
~MapParser () | |
bool | characters (const QString &ch) |
bool | endElement (const QString &, const QString &, const QString &p_qName) |
bool | startElement (const QString &, const QString &, const QString &p_qName, const QXmlAttributes &p_atts) |
Public Member Functions inherited from QXmlDefaultHandler | |
QXmlDefaultHandler () | |
virtual | ~QXmlDefaultHandler () |
virtual bool | attributeDecl (const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value) |
virtual bool | comment (const QString &ch) |
virtual bool | endCDATA () |
virtual bool | endDocument () |
virtual bool | endDTD () |
virtual bool | endEntity (const QString &name) |
virtual bool | endPrefixMapping (const QString &prefix) |
virtual bool | error (const QXmlParseException &exception) |
virtual QString | errorString () const |
virtual bool | externalEntityDecl (const QString &name, const QString &publicId, const QString &systemId) |
virtual bool | fatalError (const QXmlParseException &exception) |
virtual bool | ignorableWhitespace (const QString &ch) |
virtual bool | internalEntityDecl (const QString &name, const QString &value) |
virtual bool | notationDecl (const QString &name, const QString &publicId, const QString &systemId) |
virtual bool | processingInstruction (const QString &target, const QString &data) |
virtual bool | resolveEntity (const QString &publicId, const QString &systemId, QXmlInputSource *&ret) |
virtual void | setDocumentLocator (QXmlLocator *locator) |
virtual bool | skippedEntity (const QString &name) |
virtual bool | startCDATA () |
virtual bool | startDocument () |
virtual bool | startDTD (const QString &name, const QString &publicId, const QString &systemId) |
virtual bool | startEntity (const QString &name) |
virtual bool | startPrefixMapping (const QString &prefix, const QString &uri) |
virtual bool | unparsedEntityDecl (const QString &name, const QString &publicId, const QString &systemId, const QString ¬ationName) |
virtual bool | warning (const QXmlParseException &exception) |
Public Member Functions inherited from QXmlContentHandler | |
virtual | ~QXmlContentHandler () |
virtual bool | characters (const QString &ch)=0 |
virtual bool | endDocument ()=0 |
virtual bool | endElement (const QString &namespaceURI, const QString &localName, const QString &qName)=0 |
virtual bool | endPrefixMapping (const QString &prefix)=0 |
virtual QString | errorString () const =0 |
virtual bool | ignorableWhitespace (const QString &ch)=0 |
virtual bool | processingInstruction (const QString &target, const QString &data)=0 |
virtual void | setDocumentLocator (QXmlLocator *locator)=0 |
virtual bool | skippedEntity (const QString &name)=0 |
virtual bool | startDocument ()=0 |
virtual bool | startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)=0 |
virtual bool | startPrefixMapping (const QString &prefix, const QString &uri)=0 |
Public Member Functions inherited from QXmlErrorHandler | |
virtual | ~QXmlErrorHandler () |
virtual bool | error (const QXmlParseException &exception)=0 |
virtual QString | errorString () const =0 |
virtual bool | fatalError (const QXmlParseException &exception)=0 |
virtual bool | warning (const QXmlParseException &exception)=0 |
Public Member Functions inherited from QXmlDTDHandler | |
virtual | ~QXmlDTDHandler () |
virtual QString | errorString () const =0 |
virtual bool | notationDecl (const QString &name, const QString &publicId, const QString &systemId)=0 |
virtual bool | unparsedEntityDecl (const QString &name, const QString &publicId, const QString &systemId, const QString ¬ationName)=0 |
Public Member Functions inherited from QXmlEntityResolver | |
virtual | ~QXmlEntityResolver () |
virtual QString | errorString () const =0 |
virtual bool | resolveEntity (const QString &publicId, const QString &systemId, QXmlInputSource *&ret)=0 |
Public Member Functions inherited from QXmlLexicalHandler | |
virtual | ~QXmlLexicalHandler () |
virtual bool | comment (const QString &ch)=0 |
virtual bool | endCDATA ()=0 |
virtual bool | endDTD ()=0 |
virtual bool | endEntity (const QString &name)=0 |
virtual QString | errorString () const =0 |
virtual bool | startCDATA ()=0 |
virtual bool | startDTD (const QString &name, const QString &publicId, const QString &systemId)=0 |
virtual bool | startEntity (const QString &name)=0 |
Public Member Functions inherited from QXmlDeclHandler | |
virtual | ~QXmlDeclHandler () |
virtual bool | attributeDecl (const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value)=0 |
virtual QString | errorString () const =0 |
virtual bool | externalEntityDecl (const QString &name, const QString &publicId, const QString &systemId)=0 |
virtual bool | internalEntityDecl (const QString &name, const QString &value)=0 |
Detailed Description
This class handles XML reader events in order to initialize the Arena properties.
Definition at line 30 of file mapparser.h.
Constructor & Destructor Documentation
MapParser::MapParser | ( | Arena * | p_arena | ) |
Creates a new GameParser.
- Parameters
-
p_arena the Arena to initialize
Definition at line 26 of file mapparser.cpp.
MapParser::~MapParser | ( | ) |
Deletes the GameParser instance.
Definition at line 32 of file mapparser.cpp.
Member Function Documentation
|
virtual |
Implement QXmlDefaultHandler::characters.
Reimplemented from QXmlDefaultHandler.
Definition at line 36 of file mapparser.cpp.
Implements QXmlDefaultHandler::endElement()
Reimplemented from QXmlDefaultHandler.
Definition at line 72 of file mapparser.cpp.
|
virtual |
Implements QXmlDefaultHandler::startElement()
Reimplemented from QXmlDefaultHandler.
Definition at line 42 of file mapparser.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.