Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
CmdCardGetDataFcp.h
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2022 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 "CalypsoCardClass.h"
24#include "CalypsoCardCommand.h"
25
26namespace keyple {
27namespace card {
28namespace calypso {
29
31
45public:
53 CmdCardGetDataFcp(const CalypsoCardClass calypsoCardClass);
54
61 bool isSessionBufferUsed() const override;
62
70 const std::vector<uint8_t>& getProprietaryInformation();
71
77 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
78 override;
79
80private:
84 static const CalypsoCardCommand mCommand;
85
89 static const int TAG_PROPRIETARY_INFORMATION;
90
94 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
95
99 std::vector<uint8_t> mProprietaryInformation;
100
104 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
105};
106
107}
108}
109}
CmdCardGetDataFcp(const CalypsoCardClass calypsoCardClass)
const std::vector< uint8_t > & getProprietaryInformation()
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
AbstractApduCommand::StatusProperties StatusProperties