Keyple Util C++ Library - 2.4.0
Component of the Keyple C++ middleware
ContactCardCommonProtocol.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/ContactCardCommonProtocol.hpp"
15
16#include <string>
17
18namespace keyple {
19namespace core {
20namespace util {
21namespace protocol {
22
23const ContactCardCommonProtocol
24 ContactCardCommonProtocol::ISO_7816_3("ISO_7816_3");
25const ContactCardCommonProtocol
26 ContactCardCommonProtocol::ISO_7816_3_T0("ISO_7816_3_T0");
27const ContactCardCommonProtocol
28 ContactCardCommonProtocol::ISO_7816_3_T1("ISO_7816_3_T1");
29const ContactCardCommonProtocol
30 ContactCardCommonProtocol::INNOVATRON_HIGH_SPEED_PROTOCOL_SAM(
31 "INNOVATRON_HIGH_SPEED_PROTOCOL_SAM");
32
33ContactCardCommonProtocol::ContactCardCommonProtocol(const std::string& name)
34: mName(name)
35{
36}
37
38const std::string&
39ContactCardCommonProtocol::getName() const
40{
41 return mName;
42}
43
44} // namespace protocol
45} /* namespace util */
46} /* namespace core */
47} /* namespace keyple */