Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
CalypsoCardCommand.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 <string>
17
18/* Keyple Card Calypso */
19#include "CardCommand.h"
20
21namespace keyple {
22namespace card {
23namespace calypso {
24
32public:
35
38
41
44
47
50
53
56
59
62
65
68
71
74
77
80
83
86
89
92
95
98
101
104
107
110
113
116
120 bool operator==(const CalypsoCardCommand& o) const;
121
125 bool operator!=(const CalypsoCardCommand& o) const;
126
131
136
140 uint8_t getInstructionByte() const;
141
142private:
146 std::string mName;
147
151 uint8_t mInstructionByte;
152
160 CalypsoCardCommand(const std::string& name, const uint8_t instructionByte);
161
168 const std::string& getName() const;
169};
170
171}
172}
173}
bool operator==(const CalypsoCardCommand &o) const
static const CalypsoCardCommand DECREASE
static const CalypsoCardCommand SV_RELOAD
static const CalypsoCardCommand UPDATE_RECORD
static const CalypsoCardCommand INCREASE
static const CalypsoCardCommand NONE
static const CalypsoCardCommand SV_DEBIT
static const CalypsoCardCommand READ_RECORD_MULTIPLE
static const CalypsoCardCommand SELECT_FILE
static const CalypsoCardCommand GET_DATA
static const CalypsoCardCommand READ_RECORDS
static const CalypsoCardCommand CHANGE_PIN
static const CalypsoCardCommand READ_BINARY
bool operator!=(const CalypsoCardCommand &o) const
static const CalypsoCardCommand WRITE_RECORD
static const CalypsoCardCommand CHANGE_KEY
static const CalypsoCardCommand WRITE_BINARY
static const CalypsoCardCommand INVALIDATE
static const CalypsoCardCommand SEARCH_RECORD_MULTIPLE
static const CalypsoCardCommand REHABILITATE
static const CalypsoCardCommand DECREASE_MULTIPLE
static const CalypsoCardCommand SV_GET
CalypsoCardCommand(const CalypsoCardCommand &o)
static const CalypsoCardCommand GET_CHALLENGE
static const CalypsoCardCommand VERIFY_PIN
static const CalypsoCardCommand SV_UNDEBIT
static const CalypsoCardCommand CLOSE_SESSION
static const CalypsoCardCommand UPDATE_BINARY
static const CalypsoCardCommand OPEN_SESSION
CalypsoCardCommand & operator=(const CalypsoCardCommand &o)
static const CalypsoCardCommand INCREASE_MULTIPLE
static const CalypsoCardCommand APPEND_RECORD