Keypop Calypso Card C++ API 2.0.0
Reference Calypso Card API for C++
SearchCommandData.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 <cstdint>
13#include <vector>
14
15namespace keypop {
16namespace calypso {
17namespace card {
18namespace transaction {
19
27public:
35 virtual SearchCommandData& setSfi(const uint8_t sfi) = 0;
36
46 virtual SearchCommandData& startAtRecord(const uint8_t recordNumber) = 0;
47
58 virtual SearchCommandData& setOffset(const int offset) = 0;
59
69
77 virtual SearchCommandData& setSearchData(const std::vector<uint8_t>& data) = 0;
78
90 virtual SearchCommandData& setMask(const std::vector<uint8_t>& mask) = 0;
91
100
107 virtual std::vector<uint8_t>& getMatchingRecordNumbers() = 0;
108};
109
110} /* namespace transaction */
111} /* namespace card */
112} /* namespace calypso */
113} /* namespace keypop */
virtual SearchCommandData & setSfi(const uint8_t sfi)=0
virtual SearchCommandData & setOffset(const int offset)=0
virtual SearchCommandData & setMask(const std::vector< uint8_t > &mask)=0
virtual SearchCommandData & startAtRecord(const uint8_t recordNumber)=0
virtual SearchCommandData & fetchFirstMatchingResult()=0
virtual SearchCommandData & setSearchData(const std::vector< uint8_t > &data)=0
virtual std::vector< uint8_t > & getMatchingRecordNumbers()=0
virtual SearchCommandData & enableRepeatedOffset()=0