Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdCardGetDataFcp.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2023 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional information regarding *
5 * copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the terms of the Eclipse *
8 * Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0 *
9 * *
10 * SPDX-License-Identifier: EPL-2.0 *
11 **************************************************************************************************/
12
13#pragma once
14
15#include <cstdint>
16#include <map>
17#include <memory>
18#include <vector>
19
20/* Keyple Card Calypso */
21#include "AbstractApduCommand.h"
22#include "AbstractCardCommand.h"
23#include "CalypsoCardAdapter.h"
24#include "CalypsoCardClass.h"
25#include "CalypsoCardCommand.h"
26
27namespace keyple {
28namespace card {
29namespace calypso {
30
32
46public:
54 CmdCardGetDataFcp(const std::shared_ptr<CalypsoCardAdapter> calypsoCard);
55
63 CmdCardGetDataFcp(const CalypsoCardClass calypsoCardClass);
64
70 void parseApduResponse(const std::shared_ptr<ApduResponseApi> apduResponse) override;
71
77 bool isSessionBufferUsed() const override;
78
84 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
85 override;
86
87private:
91 static const CalypsoCardCommand mCommand;
92
96 static const int TAG_PROPRIETARY_INFORMATION;
97
101 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
102
106 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
107
114 void buildCommand(const CalypsoCardClass calypsoCardClass);
115};
116
117}
118}
119}
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
CmdCardGetDataFcp(const std::shared_ptr< CalypsoCardAdapter > calypsoCard)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
AbstractApduCommand::StatusProperties StatusProperties