Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
src
main
CalypsoCardClass.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 <ostream>
17
18
namespace
keyple
{
19
namespace
card {
20
namespace
calypso {
21
29
class
CalypsoCardClass
{
30
public
:
32
static
const
CalypsoCardClass
UNKNOWN
;
33
35
static
const
CalypsoCardClass
LEGACY
;
36
38
static
const
CalypsoCardClass
LEGACY_STORED_VALUE
;
39
41
static
const
CalypsoCardClass
ISO
;
42
46
CalypsoCardClass
(
const
CalypsoCardClass
& o);
47
54
uint8_t
getValue
()
const
;
55
59
CalypsoCardClass
&
operator=
(
const
CalypsoCardClass
& o);
60
64
bool
operator==
(
const
CalypsoCardClass
& o)
const
;
65
69
friend
std::ostream&
operator<<
(std::ostream& os,
const
CalypsoCardClass
& ccc);
70
71
private
:
75
uint8_t mCla;
76
82
CalypsoCardClass
(
const
uint8_t cla);
83
};
84
85
}
86
}
87
}
keyple::card::calypso::CalypsoCardClass
Definition:
CalypsoCardClass.h:29
keyple::card::calypso::CalypsoCardClass::operator==
bool operator==(const CalypsoCardClass &o) const
Definition:
CalypsoCardClass.cpp:40
keyple::card::calypso::CalypsoCardClass::LEGACY
static const CalypsoCardClass LEGACY
Definition:
CalypsoCardClass.h:35
keyple::card::calypso::CalypsoCardClass::operator=
CalypsoCardClass & operator=(const CalypsoCardClass &o)
Definition:
CalypsoCardClass.cpp:33
keyple::card::calypso::CalypsoCardClass::ISO
static const CalypsoCardClass ISO
Definition:
CalypsoCardClass.h:41
keyple::card::calypso::CalypsoCardClass::UNKNOWN
static const CalypsoCardClass UNKNOWN
Definition:
CalypsoCardClass.h:32
keyple::card::calypso::CalypsoCardClass::LEGACY_STORED_VALUE
static const CalypsoCardClass LEGACY_STORED_VALUE
Definition:
CalypsoCardClass.h:38
keyple::card::calypso::CalypsoCardClass::operator<<
friend std::ostream & operator<<(std::ostream &os, const CalypsoCardClass &ccc)
Definition:
CalypsoCardClass.cpp:45
keyple::card::calypso::CalypsoCardClass::getValue
uint8_t getValue() const
Definition:
CalypsoCardClass.cpp:28
keyple::card::calypso::CalypsoCardClass::CalypsoCardClass
CalypsoCardClass(const CalypsoCardClass &o)
Definition:
CalypsoCardClass.cpp:26
keyple
Definition:
AbstractApduCommand.cpp:20
Generated by
1.9.2