AusweisApp2
Msg.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include "MsgTypes.h"
10 
11 namespace governikus
12 {
13 class MsgHandler;
14 
15 class Msg final
16 {
17  friend class MsgHandler;
18 
19  private:
20  MsgType mType;
21  QByteArray mData;
22 
23  Msg(const MsgType& pType, const QByteArray& pData);
24 
25  public:
26  Msg();
27  operator QByteArray() const;
28  operator MsgType() const;
29  explicit operator bool() const;
30 };
31 
32 char* toString(const Msg& pMsg);
33 
34 } // namespace governikus
Definition: MsgHandler.h:18
Definition: Msg.h:16
Msg()
Definition: Msg.cpp:16
struct Data mData
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16
char * toString(const CommandApdu &pCommandApdu)