AusweisApp
Lade ...
Suche ...
Keine Treffer
ElementDetector.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include <QByteArray>
12#include <QStringList>
13#include <QXmlStreamReader>
14
15namespace governikus
16{
17
19{
20 Q_DISABLE_COPY(ElementDetector)
21
22 private:
23 QXmlStreamReader mReader;
24
25 protected:
26 void handleStartElements(const QStringList& pStartElementNames);
27 void detectStartElements(const QStringList& pStartElementNames);
28 virtual bool handleFoundElement(const QString& pElementName, const QString& pValue, const QXmlStreamAttributes& pAttributes) = 0;
29
30 public:
31 explicit ElementDetector(const QByteArray& pXmlData);
33};
34
35} // namespace governikus
Definition ElementDetector.h:19
void handleStartElements(const QStringList &pStartElementNames)
Definition ElementDetector.cpp:42
void detectStartElements(const QStringList &pStartElementNames)
Definition ElementDetector.cpp:25
virtual bool handleFoundElement(const QString &pElementName, const QString &pValue, const QXmlStreamAttributes &pAttributes)=0
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16