Keyple Card Calypso C++ Library 2.1.0
Reference Terminal Reader API for C++
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
18namespace keyple {
19namespace card {
20namespace calypso {
21
30public:
33
36
39
41 static const CalypsoCardClass ISO;
42
47
54 uint8_t getValue() const;
55
60
64 bool operator==(const CalypsoCardClass& o) const;
65
69 friend std::ostream& operator<<(std::ostream& os, const CalypsoCardClass& ccc);
70
71private:
75 uint8_t mCla;
76
82 CalypsoCardClass(const uint8_t cla);
83};
84
85}
86}
87}
bool operator==(const CalypsoCardClass &o) const
static const CalypsoCardClass LEGACY
CalypsoCardClass & operator=(const CalypsoCardClass &o)
static const CalypsoCardClass ISO
static const CalypsoCardClass UNKNOWN
static const CalypsoCardClass LEGACY_STORED_VALUE
friend std::ostream & operator<<(std::ostream &os, const CalypsoCardClass &ccc)
CalypsoCardClass(const CalypsoCardClass &o)