SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
|
Represents a column within an alignment matrix. More...
Classes | |
class | iterator_type |
The iterator over an alignment-column. More... | |
Public Member Functions | |
constexpr size_t | size () const noexcept |
Returns the size the alignment column. | |
Constructors, destructor and assignment | |
constexpr | alignment_column_type ()=default |
Defaulted. | |
constexpr | alignment_column_type (alignment_column_type const &)=default |
Defaulted. | |
constexpr | alignment_column_type (alignment_column_type &&)=default |
Defaulted. | |
constexpr alignment_column_type & | operator= (alignment_column_type const &)=default |
Defaulted. | |
constexpr alignment_column_type & | operator= (alignment_column_type &&)=default |
Defaulted. | |
~alignment_column_type ()=default | |
Defaulted. | |
constexpr | alignment_column_type (derived_t &me, view_type ref) |
Constructs from the derived type. | |
Iterators | |
This column type is not const-iterable. | |
constexpr iterator_type | begin () noexcept |
Returns an iterator to the begin of the column. | |
constexpr auto | begin () const noexcept=delete |
Deleted begin for const-qualified alignment-columns. | |
constexpr sentinel | end () noexcept |
Returns an iterator to the end of the column. | |
constexpr sentinel | end () const noexcept=delete |
Deleted end for const-qualified alignment-columns. | |
Private Types | |
using | sentinel = std::ranges::sentinel_t< view_type > |
The sentinel type of the underlying view. | |
using | view_type = typename deferred_type< typename derived_t::column_data_view_type >::type |
A view aliasing the actual stored data column within the underlying matrix. | |
Private Attributes | |
derived_t * | me_ptr {} |
Pointer to the derived type. | |
view_type | ref {} |
The aliased alignment-column. | |
Represents a column within an alignment matrix.
The alignment-column depends on the column_data_view_type
of the derived type. This type is used to alias the actual data storage of the underlying matrix implementation such that it does not own the data.
|
inlineconstexpr |
Constructs from the derived type.
[in] | me | An instance of the derived type. |
[in] | ref | The underlying view referencing the current column in the matrix. |
This constructor is called by the derived type when invoking the function initialise_column
.