Raptor 4.0.0-rc.1
A fast and space-efficient pre-filter
Loading...
Searching...
No Matches
validators.hpp File Reference

Provides various validator. More...

#include <sharg/parser.hpp>
#include <seqan3/io/sequence_file/input.hpp>
#include <raptor/strong_types.hpp>
+ Include dependency graph for validators.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  raptor::bin_validator
 
class  raptor::output_directory_validator
 
class  raptor::output_file_validator
 
class  raptor::positive_integer_validator
 
struct  raptor::power_of_two_validator
 
class  raptor::sequence_file_validator
 
class  raptor::size_validator
 

Functions

std::vector< std::string > const & raptor::detail::combined_extensions ()
 The valid extensions of a sequence file, including compressed ones.
 
std::vector< std::string > const & raptor::detail::compression_extensions ()
 The valid extensions of a compressed file.
 
std::vector< std::string > const & raptor::detail::sequence_extensions ()
 The valid extensions of a sequence file.
 

Detailed Description

Provides various validator.

Author
Enrico Seiler <enrico.seiler AT fu-berlin.de>

Function Documentation

◆ sequence_extensions()

std::vector< std::string > const & raptor::detail::sequence_extensions ( )
inline

The valid extensions of a sequence file.

Initialised on first use, not during static initialisation: seqan3 stores the extensions of each format in a static inline class member, which is dynamically initialised. The relative order of dynamic initialisation across translation units is unspecified, so initialising a namespace-scope variable from these members may copy vectors that are still empty. An empty extension list makes sharg::input_file_validator accept any extension.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
Hide me