SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
char_predicate Interface Reference

An internal concept to check if an object fulfills the requirements of a seqan3::detail::char_predicate. More...

#include <seqan3/core/char_operations/predicate_detail.hpp>

+ Inheritance diagram for char_predicate:

Related Functions

(Note that these are not member functions.)

template<char op, typename condition_head_t , typename ... condition_ts>
const std::string condition_message_v
 Defines a compound std::string consisting of all given conditions separated by the operator-name op. More...
 

Requirements for seqan3::detail::char_predicate

You can expect the variable and the predicate function on all types that satisfy seqan3::output_stream_over.

bool operator() (char_type c)
 predicate function to test if c satisfies the given condition. More...
 
static constexpr auto msg
 Defines the condition msg. The type is deduced from the constant expression in the definition of the variable.
 

Detailed Description

An internal concept to check if an object fulfills the requirements of a seqan3::detail::char_predicate.

An object of the type must be invocable with a std::integral type and supply a static constexpr msg member of type std::string.

Member Function Documentation

◆ operator()()

bool operator() ( char_type  c)

predicate function to test if c satisfies the given condition.

Parameters
cThe character to be tested.
Returns
true on success, false otherwise.
Attention
This is a concept requirement, not an actual function (however types satisfying this concept will provide an implementation).

The documentation for this interface was generated from the following file: