#include <OpenMS/ANALYSIS/ID/AhoCorasickAmbiguous.h>
|
uint8_t | aa_ |
| internal representation as 1-byte integer More...
|
|
An AminoAcid, with supports construction from char and has convenience functions such as isAmbiguous() or isValid()
◆ AA() [1/2]
Default C'tor; creates an invalid AA.
◆ AA() [2/2]
constexpr AA |
( |
const char |
c | ) |
|
|
inlineexplicitconstexpr |
C'tor from char; any char A-Z or a-z yields a valid AA. '$' is a special AA, which should only be used when modeling mismatches. All other chars produce an invalid AA ('?')
◆ isAmbiguous()
constexpr bool isAmbiguous |
( |
| ) |
const |
|
inlineconstexpr |
is AA a 'B', 'J', 'Z', 'X', or '$' ?
References AA::aa_.
◆ isValid()
constexpr bool isValid |
( |
| ) |
const |
|
inlineconstexpr |
◆ isValidForPeptide()
constexpr bool isValidForPeptide |
( |
| ) |
const |
|
inlineconstexpr |
is the AA a letter, i.e. A-Z or a-z?
References AA::aa_.
◆ operator()()
constexpr uint8_t operator() |
( |
| ) |
const |
|
inlineconstexpr |
yields the internal 8bit representation
◆ operator++() [1/2]
constexpr AA& operator++ |
( |
| ) |
|
|
inlineconstexpr |
Pre-increment operator (advance to next AA)
◆ operator++() [2/2]
constexpr AA operator++ |
( |
int |
| ) |
|
|
inlineconstexpr |
Post-increment operator (advance to next AA)
◆ operator-()
constexpr AA operator- |
( |
const AA |
rhs | ) |
const |
|
inlineconstexpr |
Decrement operator.
References AA::aa_.
◆ operator<=()
constexpr bool operator<= |
( |
const AA |
other | ) |
const |
|
inlineconstexpr |
less-or-equal operator
References AA::aa_.
◆ operator==()
constexpr bool operator== |
( |
const AA |
other | ) |
const |
|
inlineconstexpr |
equality operator
References AA::aa_.
◆ aa_