AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
governikus::PaosParser Klassenreferenzabstract

#include <PaosParser.h>

Klassendiagramm für governikus::PaosParser:

Öffentliche Methoden

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

Geschützte Methoden

virtual PaosMessageparseMessage ()=0
 
- Geschützte Methoden geerbt von governikus::ElementParser
bool readNextStartElement ()
 Like QXmlStreamReader::readNextStartElement(), but also checks mParseError. Mehr ...
 
QString readElementText ()
 Returns the text (simplified()) between the current start element and the corresponding end element. Mehr ...
 
void assertMandatoryElement (const QString &pValue, const char *pElementName)
 Issues a log warning and sets the error when the element has not been set, i.e. Mehr ...
 
template<typename T >
bool assertMandatoryList (const QVector< T > &pList, const char *pElementName)
 Issues a log warning and sets the error when the list is empty. Mehr ...
 
bool assertNoDuplicateElement (bool pNotYetSeen)
 Issues a log warning and sets the error when a duplicate element has been encountered. Mehr ...
 
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. Mehr ...
 

Geschützte Attribute

QString mMessageName
 
QString mMessageID
 
QString mRelatesTo
 
- Geschützte Attribute geerbt von governikus::ElementParser
QSharedPointer< QXmlStreamReader > mXmlReader
 
bool mParseError
 

Beschreibung der Konstruktoren und Destruktoren

PaosParser::PaosParser ( const QString &  pMessageName)
PaosParser::~PaosParser ( )
virtual

Dokumentation der Elementfunktionen

PaosMessage * PaosParser::parse ( const QByteArray &  pXmlData)

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

Dokumentation der Datenelemente

QString governikus::PaosParser::mMessageID
protected
QString governikus::PaosParser::mMessageName
protected
QString governikus::PaosParser::mRelatesTo
protected

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