Keypop Reader C++ API 2.0.0
Reference Reader API for C++
FileControlInformation.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
15namespace keypop {
16namespace reader {
17namespace selection {
18
31 FCI,
32
38 FCP,
39
45 FMD,
46
53};
54
55static inline std::ostream&
56operator<<(std::ostream& os, const FileControlInformation fci)
57{
58 os << "FILE_CONTROL_INFORMATION: ";
59 switch (fci) {
61 os << "FCI";
62 break;
64 os << "FCP";
65 break;
67 os << "FMD";
68 break;
70 os << "NO_RESPONSE";
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 */