SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
misc_input.hpp File Reference

Provides various utility functions required only for input. More...

#include <algorithm>
#include <concepts>
#include <filesystem>
#include <iostream>
#include <ranges>
#include <span>
#include <string>
#include <tuple>
#include <seqan3/contrib/stream/bgzf.hpp>
#include <seqan3/io/detail/magic_header.hpp>
#include <seqan3/io/exception.hpp>
#include <seqan3/utility/concept.hpp>
+ Include dependency graph for misc_input.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  seqan3
 The main SeqAn3 namespace.
 
namespace  seqan3::detail
 The internal SeqAn3 namespace.
 

Functions

template<builtin_character char_t>
auto seqan3::detail::make_secondary_istream (std::basic_istream< char_t > &primary_stream)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<builtin_character char_t>
auto seqan3::detail::make_secondary_istream (std::basic_istream< char_t > &primary_stream, std::filesystem::path &filename) -> std::unique_ptr< std::basic_istream< char_t >, std::function< void(std::basic_istream< char_t > *)> >
 Depending on the magic bytes of the given stream, return a decompression stream or forward the primary stream.
 
template<std::ranges::forward_range ref_t, std::ranges::forward_range query_t>
requires std::equality_comparable_with<std::ranges::range_reference_t<ref_t>, std::ranges::range_reference_t<query_t>>
bool seqan3::detail::starts_with (ref_t &&reference, query_t &&query)
 Check whether the query range is a prefix of the reference range.
 

Detailed Description

Provides various utility functions required only for input.

Author
Hannes Hauswedell <hannes.hauswedell AT fu-berlin.de>
Hide me