Keyple Card Calypso C++ Library 2.2.5.6
Reference Terminal Reader API for C++
CmdCardInvalidate.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/* Calypsonet Terminal Calypso */
21#include "CalypsoCard.h"
22
23/* Keyple Card Calypso */
24#include "AbstractApduCommand.h"
25#include "AbstractCardCommand.h"
26#include "CalypsoCardAdapter.h"
27#include "CalypsoCardClass.h"
28
29/* Keyple Core Util */
30#include "LoggerFactory.h"
31
32namespace keyple {
33namespace card {
34namespace calypso {
35
36using namespace calypsonet::terminal::calypso::card;
37using namespace keyple::core::util::cpp;
38
40
48public:
56 CmdCardInvalidate(const std::shared_ptr<CalypsoCardAdapter> calypsoCard);
57
64 bool isSessionBufferUsed() const override;
65
71 const std::map<const int, const std::shared_ptr<StatusProperties>>& getStatusTable() const
72 override;
73
74private:
78 static const CalypsoCardCommand mCommand;
79
83 static const std::map<const int, const std::shared_ptr<StatusProperties>> STATUS_TABLE;
84
88 static const std::map<const int, const std::shared_ptr<StatusProperties>> initStatusTable();
89};
90
91}
92}
93}
CmdCardInvalidate(const std::shared_ptr< CalypsoCardAdapter > calypsoCard)
const std::map< const int, const std::shared_ptr< StatusProperties > > & getStatusTable() const override
AbstractApduCommand::StatusProperties StatusProperties