LocARNA-1.9.2
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions
LocARNA::MultipleAlignment::AliColumn Class Reference

read only proxy class representing a column of the alignment More...

#include <multiple_alignment.hh>

List of all members.

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.

Detailed Description

read only proxy class representing a column of the alignment

Allow read only access to the symbols in the column by their row index


Constructor & Destructor Documentation

Construct from multiple alignment column.

Parameters:
mamultiple alignment
col_indexcolumn index

Member Function Documentation

bool LocARNA::MultipleAlignment::AliColumn::operator!= ( const AliColumn ac) const [inline]

Test inequality.

Parameters:
acsecond alignment column
Returns:
whether columns are equal
bool LocARNA::MultipleAlignment::AliColumn::operator== ( const AliColumn ac) const [inline]

Test equality.

Parameters:
acsecond alignment column
Returns:
whether columns are equal
const char& LocARNA::MultipleAlignment::AliColumn::operator[] ( size_type  row_index) const [inline]

element access

Parameters:
row_index0-based index of alignment row
Returns:
character at row in the represented column

Size / Number of rows.

Returns:
number of rows of the multiple alignment

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends