Raptor
4.0.0-rc.1
A fast and space-efficient pre-filter
Loading...
Searching...
No Matches
write_metadata.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2006-2026 Knut Reinert & Freie Universität Berlin
2
// SPDX-FileCopyrightText: 2016-2026 Knut Reinert & MPI für molekulare Genetik
3
// SPDX-License-Identifier: BSD-3-Clause
4
10
#pragma once
11
12
#include <
iosfwd
>
13
14
#include "
index_metadata.hpp
"
15
16
namespace
raptor::detail
17
{
18
28
void
write_text
(
std::ostream
& stream, index_metadata
const
& metadata,
bool
const
user_bins);
29
36
void
write_json
(
std::ostream
& stream, index_metadata
const
& metadata,
bool
const
user_bins);
37
38
}
// namespace raptor::detail
std::ostream
index_metadata.hpp
Provides raptor::detail::index_metadata and raptor::detail::read_index_metadata.
iosfwd
raptor::detail::write_json
void write_json(std::ostream &stream, index_metadata const &metadata, bool const user_bins)
Writes metadata as a single JSON object.
Definition
write_metadata.cpp:168
raptor::detail::write_text
void write_text(std::ostream &stream, index_metadata const &metadata, bool const user_bins)
Writes metadata as ## Key = value lines, like the header of a raptor search result.
Definition
write_metadata.cpp:65
Hide me
Version:
src
inspect
write_metadata.hpp
Generated on Sat Oct 31 2026 18:12:17 for Raptor by
1.10.0