Keypop Reader C++ API 2.0.0
Reference Reader API for C++
CardSelector.hpp
Go to the documentation of this file.
1/**************************************************************************************************
2 * Copyright (c) 2024 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at https://opensource.org/licenses/MIT. *
6 * *
7 * SPDX-License-Identifier: MIT *
8 **************************************************************************************************/
9
10#pragma once
11
12#include <string>
13
14namespace keypop {
15namespace reader {
16namespace selection {
17
32template <typename T>
33class CardSelector<T> {
34public:
52 virtual T& filterByCardProtocol(const std::string& logicalProtocolName) = 0;
53
63 virtual T& filterByPowerOnData(const std::string& powerOnDataRegex) = 0;
64};
65
66} /* namespace selection */
67} /* namespace reader */
68} /* namespace keypop */
virtual T & filterByCardProtocol(const std::string &logicalProtocolName)=0
virtual T & filterByPowerOnData(const std::string &powerOnDataRegex)=0