1 /*!
2  * \brief Class represents the retrieved PAOS StartPaosResponse
3  *
4  * \copyright Copyright (c) 2014-2021 Governikus GmbH & Co. KG, Germany
5  */
6 
7 #pragma once
8 
9 #include "paos/ElementDetector.h"
10 #include "paos/ResponseType.h"
11 
12 #include <QByteArray>
13 #include <QString>
14 
15 namespace governikus
16 {
17 
18 class StartPaosResponse
19 	: public ResponseType
20 	, private ElementDetector
21 {
22 	private:
23 		QString mResultMajor, mResultMinor, mResultMessage;
24 
25 	public:
26 		explicit StartPaosResponse(const QByteArray& pXmlData);
27 
28 	private:
29 		void parse();
30 		bool handleFoundElement(const QString& pElementName, const QString& pValue, const QXmlStreamAttributes& pAttributes) override;
31 };
32 
33 } // namespace governikus
34