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

Provides various utility functions. More...

+ Include dependency graph for io/detail/misc.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  seqan3::detail::variant_from_tags< type_list< ts... >, output_t >
 Transfers a list of format tags (...ts) onto a std::variant by specialising output_t with each. More...
 

Namespaces

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

Functions

template<typename format_variant_type >
void seqan3::detail::set_format (format_variant_type &format, std::filesystem::path const &file_name)
 Sets the file format according to the file name extension.
 
template<typename formats_t >
std::vector< std::stringseqan3::detail::valid_file_extensions ()
 Returns a list of valid file extensions.
 
template<std::output_iterator< char > it_t>
constexpr void seqan3::detail::write_eol (it_t &it, bool const add_cr)
 Write "\n" or "\r\n" to the stream iterator, depending on arguments.
 

Variables

template<typename list_t >
constexpr bool seqan3::detail::has_member_file_extensions = false
 Helper function to determine if all types in a format type list have a static member file_extensions.
 
template<typename query_t >
constexpr bool seqan3::detail::has_type_valid_formats = false
 Helper function to determine if a type has a static member valid_formats.
 

Detailed Description

Provides various utility functions.

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