SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
seqan3::detail::char_predicate_disjunction< condition_ts > Struct Template Reference

Logical disjunction operator for parse conditions. More...

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

+ Inheritance diagram for seqan3::detail::char_predicate_disjunction< condition_ts >:

Public Types

using base_t = char_predicate_base< char_predicate_disjunction< condition_ts... > >
 The base type.
 
- Public Types inherited from seqan3::detail::char_predicate_base< char_predicate_disjunction< condition_ts... > >
using data_t = constexpr_pseudo_bitset< 257 >
 Type of the data field; as soon as std::bitset is fully constexpr, use that instead!
 

Static Public Attributes

static constexpr data_t data = (condition_ts::data | ...)
 The look-up table that is used to evaluate the input.
 
static const std::string msg = detail::condition_message_v<'|', condition_ts...>
 The message representing the disjunction of the associated conditions.
 

Additional Inherited Members

- Public Member Functions inherited from char_predicate
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.
 
- Public Member Functions inherited from seqan3::detail::char_predicate_base< char_predicate_disjunction< condition_ts... > >
constexpr auto operator|| (rhs_t const &) const
 Combines the result of two seqan3::detail::char_predicate via logical disjunction.
 
constexpr auto operator! () const
 Return a new condition with all bits flipped.
 
constexpr bool operator() (value_t const val) const noexcept
 Invokes the condition on val.
 
constexpr bool operator() (value_t const val) const noexcept
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
std::string message () const
 Returns the message representing this condition as std::string.
 

Detailed Description

template<char_predicate... condition_ts>
requires (sizeof...(condition_ts) >= 2)
struct seqan3::detail::char_predicate_disjunction< condition_ts >

Logical disjunction operator for parse conditions.

Template Parameters
condition_tsTemplate parameter pack over all parse condition types. Must contain at least 2 template parameters. Must model seqan3::detail::char_predicate.

The documentation for this struct was generated from the following file:
Hide me