Ver código fonte

ByteArray default constructor

master
Robin Thoni 9 anos atrás
pai
commit
fb3650ee40
2 arquivos alterados com 29 adições e 0 exclusões
  1. 25
    0
      DBO/ScBasicCommand.h
  2. 4
    0
      DBO/ScBasicCommand.hxx

+ 25
- 0
DBO/ScBasicCommand.h Ver arquivo

@@ -0,0 +1,25 @@
1
+//
2
+// Created by robin on 6/27/15.
3
+//
4
+
5
+#ifndef LIBPCSC_CPPTOOLS_SCBASICCOMMAND_H
6
+# define LIBPCSC_CPPTOOLS_SCBASICCOMMAND_H
7
+
8
+
9
+# include <bits/stringfwd.h>
10
+# include "ScCommand.h"
11
+
12
+class ScBasicCommand : public ScCommand {
13
+
14
+public:
15
+    ScBasicCommand(const std::string& data);
16
+
17
+    virtual ScByteArray getData() const override;
18
+
19
+private:
20
+    ScByteArray _data;
21
+};
22
+
23
+# include "ScCommand.hxx"
24
+
25
+#endif //LIBPCSC_CPPTOOLS_SCBASICCOMMAND_H

+ 4
- 0
DBO/ScBasicCommand.hxx Ver arquivo

@@ -0,0 +1,4 @@
1
+//
2
+// Created by robin on 6/27/15.
3
+//
4
+

Carregando…
Cancelar
Salvar