Keypop Reader C++ API - 2.1.0
Component of the Keypop C++ API
CardSelectionResult.hpp
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 MIT License which is available at *
9 * https://opensource.org/licenses/MIT *
10 * *
11 * SPDX-License-Identifier: MIT *
12 ******************************************************************************/
13
14#pragma once
15
16#include <map>
17#include <memory>
18
20
21namespace keypop {
22namespace reader {
23namespace selection {
24
26
40public:
49 virtual const std::map<int, std::shared_ptr<SmartCard>>&
50 getSmartCards() const = 0;
51
58 virtual std::shared_ptr<SmartCard> getActiveSmartCard() const = 0;
59
67 virtual int getActiveSelectionIndex() const = 0;
68};
69
70} /* namespace selection */
71} /* namespace reader */
72} /* namespace keypop */
virtual std::shared_ptr< SmartCard > getActiveSmartCard() const =0
Gets the active matching card.
virtual int getActiveSelectionIndex() const =0
Gets the index of the active selection if any.
virtual const std::map< int, std::shared_ptr< SmartCard > > & getSmartCards() const =0
Gets all SmartCard corresponding to all successful selection cases in a map for which the key is the ...
Basic smart card with which communication has been established after a selection process and which is...
Definition: SmartCard.hpp:35