SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
char_predicate Interface Reference

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

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

+ Inheritance diagram for char_predicate:

Public Member Functions

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.
 
static constexpr auto msg
 Defines the condition msg. The type is deduced from the constant expression in the definition of the variable.
 

Related Symbols

(Note that these are not member symbols.)

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.
 

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:
Hide me