#include <OpenMS/ANALYSIS/ID/AhoCorasickAmbiguous.h>
|
T | i_ = std::numeric_limits<T>::max() |
| internal number representation; invalid state by default More...
|
|
An index with 32-bit representing the location of a node Allows to model invalid indices, see isInvalid() and isValid().
◆ Index() [1/2]
default C'tor; creates an invalid index
◆ Index() [2/2]
◆ isInvalid()
is this Index invalid, i.e. should not be dereferenced
◆ isValid()
is this Index valid, i.e. an actual index into a vector?
◆ operator()()
convert to a number (might be invalid, check with .isValid() first)
◆ operator==()
bool operator== |
( |
const Index |
other | ) |
const |
◆ pos() [1/2]
allows to set the index, using index.pos() = 3;
or simply read its value
◆ pos() [2/2]
allows to read the index, using index.pos()
◆ i_
T i_ = std::numeric_limits<T>::max() |
|
private |
internal number representation; invalid state by default