AusweisApp
Lade ...
Suche ...
Keine Treffer
governikus::PaosParser Klassenreferenzabstract

#include <PaosParser.h>

Klassendiagramm für governikus::PaosParser:

Öffentliche Methoden

 PaosParser (const QString &pMessageName)
 
 ~PaosParser () override
 
PaosMessageparse (const QByteArray &pXmlData)
 
- Öffentliche Methoden geerbt von governikus::ElementParser
 ElementParser (QSharedPointer< QXmlStreamReader > pXmlReader)
 
virtual ~ElementParser ()
 
bool parserFailed () const
 

Geschützte Methoden

virtual PaosMessageparseMessage ()=0
 
QStringView getElementType () const
 
- Geschützte Methoden geerbt von governikus::ElementParser
ConnectionHandle parseConnectionHandle ()
 
bool readNextStartElement ()
 Like QXmlStreamReader::readNextStartElement(), but also checks mParseError.
 
QString readElementText ()
 Returns the text (simplified()) between the current start element and the corresponding end element.
 
void assertMandatoryElement (const QString &pValue, const char *const pElementName)
 Issues a log warning and sets the error when the element has not been set, i.e.
 
template<typename T >
bool assertMandatoryList (const QList< T > &pList, const char *const pElementName)
 Issues a log warning and sets the error when the list is empty.
 
bool assertNoDuplicateElement (bool pNotYetSeen)
 Issues a log warning and sets the error when a duplicate element has been encountered.
 
bool readUniqueElementText (QString &pText)
 Returns the text (simplified()) between the current start element and the corresponding end element, if the element has not been encountered yet.
 
void skipCurrentElement () const
 Skips parsing of the current element Used to ignore unknown or unrecognized elements while parsing.
 
QStringView getElementName () const
 Returns the name of the current element and issues a log message with it.
 
void setParserFailed ()
 
void initData (const QByteArray &pXmlData)
 
QStringView getElementTypeByNamespace (const QString &pNamespace) const
 

Beschreibung der Konstruktoren und Destruktoren

◆ PaosParser()

PaosParser::PaosParser ( const QString & pMessageName)
explicit

◆ ~PaosParser()

PaosParser::~PaosParser ( )
overridedefault

Dokumentation der Elementfunktionen

◆ getElementType()

QStringView PaosParser::getElementType ( ) const
protected
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ parse()

PaosMessage * PaosParser::parse ( const QByteArray & pXmlData)
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ parseMessage()


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: