浏览代码

ByteArray default constructor

master
Robin Thoni 9 年前
父节点
当前提交
fb3650ee40
共有 2 个文件被更改,包括 29 次插入0 次删除
  1. 25
    0
      DBO/ScBasicCommand.h
  2. 4
    0
      DBO/ScBasicCommand.hxx

+ 25
- 0
DBO/ScBasicCommand.h 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存