|
SeqAn3 3.4.0
The Modern C++ library for sequence analysis.
|
Provides character predicates for tokenisation. More...
Go to the source code of this file.
Namespaces | |
| namespace | seqan3 |
| The main SeqAn3 namespace. | |
Variables | |
Char predicates | |
A set of function objects to check if a character from an input source fulfills certain characteristics. | |
| constexpr auto | seqan3::is_alpha = is_in_interval<'A', 'Z'> || is_in_interval<'a', 'z'> |
| Checks whether c is a graphic character. | |
| constexpr auto | seqan3::is_blank = is_char<'\t'> || is_char<' '> |
| Checks whether c is a blank character. | |
| template<int char_v> | |
| constexpr auto | seqan3::is_char |
| Checks whether a given letter is the same as the template non-type argument. | |
| constexpr auto | seqan3::is_cntrl = is_in_interval<'\0', static_cast<char>(31)> || is_char<static_cast<char>(127)> |
| Checks whether c is a control character. | |
| constexpr auto | seqan3::is_digit = is_in_interval<'0', '9'> |
| Checks whether c is a digital character. | |
| constexpr auto | seqan3::is_eof = is_char<EOF> |
| Checks whether a given letter is equal to the EOF constant defined in <cstdio>. | |
| template<uint8_t interval_first, uint8_t interval_last> | |
| constexpr auto | seqan3::is_in_interval |
| Checks whether a given letter is in the specified interval. | |
| constexpr auto | seqan3::is_lower = is_in_interval<'a', 'z'> |
| Checks whether c is a lower case character. | |
| constexpr auto | seqan3::is_print = is_in_interval<' ', '~'> |
| Checks whether c is a printable character. | |
| constexpr auto | seqan3::is_space = is_in_interval<'\t', '\r'> || is_char<' '> |
| Checks whether c is a space character. | |
| constexpr auto | seqan3::is_upper = is_in_interval<'A', 'Z'> |
| Checks whether c is a upper case character. | |
| constexpr auto | seqan3::is_xdigit = is_in_interval<'0', '9'> || is_in_interval<'A', 'F'> || is_in_interval<'a', 'f'> |
| Checks whether c is a hexadecimal character. | |
Provides character predicates for tokenisation.