LocARNA-2.0.0
|
read only proxy class representing a column of the alignment More...
#include <multiple_alignment.hh>
Classes | |
class | const_iterator |
const iterator More... | |
Public Types | |
using | value_type = char |
using | iterator = const_iterator |
iterator More... | |
Public Member Functions | |
AliColumn (const MultipleAlignment &ma, size_type col_index) | |
Construct from multiple alignment column. More... | |
const char & | operator[] (size_type row_index) const |
element access More... | |
size_type | size () const |
Size / Number of rows. More... | |
bool | operator== (const AliColumn &ac) const |
Test equality. More... | |
bool | operator!= (const AliColumn &ac) const |
Test inequality. More... | |
auto | begin () const |
begin iterator (always const) | |
auto | end () const |
end iterator (always const) | |
read only proxy class representing a column of the alignment
Allow read only access to the symbols in the column by their row index
iterator
|
inline |
Construct from multiple alignment column.
ma | multiple alignment |
col_index | column index |
|
inline |
Test inequality.
ac | second alignment column |
|
inline |
Test equality.
ac | second alignment column |
|
inline |
element access
row_index | 0-based index of alignment row |
|
inline |
Size / Number of rows.