A trace iterator an unbanded trace matrix.
More...
#include <seqan3/alignment/matrix/detail/trace_iterator.hpp>
|
|
|
constexpr | trace_iterator ()=default |
| | Defaulted.
|
| |
|
constexpr | trace_iterator (trace_iterator const &)=default |
| | Defaulted.
|
| |
|
constexpr | trace_iterator (trace_iterator &&)=default |
| | Defaulted.
|
| |
|
constexpr trace_iterator & | operator= (trace_iterator const &)=default |
| | Defaulted.
|
| |
|
constexpr trace_iterator & | operator= (trace_iterator &&)=default |
| | Defaulted.
|
| |
|
| ~trace_iterator ()=default |
| | Defaulted.
|
| |
| constexpr | trace_iterator (matrix_iter_t const matrix_iter) noexcept |
| | Constructs from the underlying trace matrix iterator indicating the start of the trace path.
|
| |
template<two_dimensional_matrix_iterator other_matrix_iter_t>
requires std::constructible_from<matrix_iter_t, other_matrix_iter_t> |
| constexpr | trace_iterator (trace_iterator< other_matrix_iter_t > const other) noexcept |
| | Constructs from the underlying trace matrix iterator indicating the start of the trace path.
|
| |
|
reference | operator* () const noexcept |
| | Returns the current trace direction.
|
| |
|
pointer | operator-> () const noexcept |
| | Returns a pointer to the current trace direction.
|
| |
|
constexpr matrix_coordinate | coordinate () const noexcept |
| | Returns the current coordinate in two-dimensional space.
|
| |
|
constexpr trace_iterator< matrix_iter_t > & | operator++ () noexcept |
| | Advances the iterator by one.
|
| |
|
constexpr trace_iterator< matrix_iter_t > | operator++ (int) noexcept |
| | Returns an iterator advanced by one.
|
| |
A trace iterator an unbanded trace matrix.
- Template Parameters
-
This iterator follows a given trace in an unbanded trace matrix.
◆ trace_iterator() [1/2]
|
|
inlineexplicitconstexprnoexcept |
Constructs from the underlying trace matrix iterator indicating the start of the trace path.
- Parameters
-
| [in] | matrix_iter | The underlying matrix iterator. |
◆ trace_iterator() [2/2]
Constructs from the underlying trace matrix iterator indicating the start of the trace path.
- Template Parameters
-
| other_matrix_iter_t | The underlying matrix iterator type of other; the condition std::constructible_from<matrix_iter_t, other_matrix_iter_t> must evaluate to true. |
- Parameters
-
| [in] | other | The underlying matrix iterator. |
Allows the conversion of non-const to const iterator.
The documentation for this class was generated from the following file: