Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdCardGetDataTraceabilityInformation.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 <string>
19#include <vector>
20
21/* Keyple Card Calypso */
22#include "AbstractApduCommand.h"
23#include "AbstractCardCommand.h"
24#include "CalypsoCardAdapter.h"
25#include "CalypsoCardClass.h"
26
27namespace keyple {
28namespace card {
29namespace calypso {
30
32
43public:
51 CmdCardGetDataTraceabilityInformation(const std::shared_ptr<CalypsoCardAdapter> calypsoCard);
52
61
68 bool isSessionBufferUsed() const override;
69
75 void parseApduResponse(const std::shared_ptr<ApduResponseApi> apduResponse) override;
76
82 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
83 override;
84
85private:
89 static const CalypsoCardCommand mCommand;
90
94 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
95
99 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
100
107 void buildCommand(const CalypsoCardClass calypsoCardClass);
108};
109
110}
111}
112}
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
CmdCardGetDataTraceabilityInformation(const std::shared_ptr< CalypsoCardAdapter > calypsoCard)
void parseApduResponse(const std::shared_ptr< ApduResponseApi > apduResponse) override
AbstractApduCommand::StatusProperties StatusProperties