Keypop Reader C++ API 2.0.0
Reference Reader API for C++
include
keypop
reader
selection
FileOccurrence.hpp
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (c) 2025 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 *
6
* https://opensource.org/licenses/MIT. *
7
* *
8
* SPDX-License-Identifier: MIT *
9
******************************************************************************/
10
11
#pragma once
12
13
#include <iostream>
14
15
namespace
keypop
{
16
namespace
reader {
17
namespace
selection {
18
25
enum class
FileOccurrence
{
31
FIRST
,
32
38
LAST
,
39
45
NEXT
,
46
52
PREVIOUS
53
};
54
55
static
inline
std::ostream&
56
operator<<(std::ostream& os,
const
FileOccurrence
fo)
57
{
58
os <<
"FILE_OCCURENCE: "
;
59
switch
(fo) {
60
case
FileOccurrence::FIRST
:
61
os <<
"FIRST"
;
62
break
;
63
case
FileOccurrence::LAST
:
64
os <<
"LAST"
;
65
break
;
66
case
FileOccurrence::NEXT
:
67
os <<
"NEXT"
;
68
break
;
69
case
FileOccurrence::PREVIOUS
:
70
os <<
"PREVIOUS"
;
71
break
;
72
default
:
73
os <<
"UNKNOWN"
;
74
break
;
75
}
76
77
return
os;
78
}
79
80
}
/* namespace selection */
81
}
/* namespace reader */
82
}
/* namespace keypop */
keypop::reader::selection::FileOccurrence
FileOccurrence
Definition:
FileOccurrence.hpp:25
keypop::reader::selection::FileOccurrence::FIRST
@ FIRST
keypop::reader::selection::FileOccurrence::PREVIOUS
@ PREVIOUS
keypop::reader::selection::FileOccurrence::NEXT
@ NEXT
keypop::reader::selection::FileOccurrence::LAST
@ LAST
keypop
Definition:
CardCommunicationException.hpp:17
Generated by
1.9.2