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