Keyple Util C++ Library - 2.4.0
Component of the Keyple C++ middleware
ContactlessCardCommonProtocol.cpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * See the NOTICE file(s) distributed with this work for additional *
5 * information regarding copyright ownership. *
6 * *
7 * This program and the accompanying materials are made available under the *
8 * terms of the Eclipse Public License 2.0 which is available at *
9 * http://www.eclipse.org/legal/epl-2.0 *
10 * *
11 * SPDX-License-Identifier: EPL-2.0 *
12 ******************************************************************************/
13
14#include "keyple/core/util/protocol/ContactlessCardCommonProtocol.hpp"
15
16#include <string>
17
18namespace keyple {
19namespace core {
20namespace util {
21namespace protocol {
22
23const ContactlessCardCommonProtocol
24 ContactlessCardCommonProtocol::ISO_14443_4("ISO_14443_4");
25const ContactlessCardCommonProtocol
26 ContactlessCardCommonProtocol::NFC_A_ISO_14443_3A("NFC_A_ISO_14443_3A");
27const ContactlessCardCommonProtocol
28 ContactlessCardCommonProtocol::NFC_B_ISO_14443_3B("NFC_B_ISO_14443_3B");
29const ContactlessCardCommonProtocol
30 ContactlessCardCommonProtocol::NFC_F_JIS_6319_4("NFC_F_JIS_6319_4");
31const ContactlessCardCommonProtocol
32 ContactlessCardCommonProtocol::NFC_V_ISO_15693("NFC_V_ISO_15693");
33const ContactlessCardCommonProtocol
34 ContactlessCardCommonProtocol::INNOVATRON_B_PRIME_CARD(
35 "INNOVATRON_B_PRIME_CARD");
36
37ContactlessCardCommonProtocol::ContactlessCardCommonProtocol(
38 const std::string& name)
39: mName(name)
40{
41}
42
43const std::string&
44ContactlessCardCommonProtocol::getName() const
45{
46 return mName;
47}
48
49} /* namespace protocol */
50} /* namespace util */
51} /* namespace core */
52} /* namespace keyple */