OpenStructure
Public Member Functions
AlignedColumn Class Reference

#include <aligned_column.hh>

Public Member Functions

 AlignedColumn (const AlignmentHandle &aln, int index)
 
 AlignedColumn ()
 
int GetIndex () const
 
char operator[] (int row) const
 
int GetResidueIndex (int row) const
 
int GetRowCount () const
 
mol::ResidueView GetResidue (int row) const
 

Detailed Description

Provides access to a column in a aligned region or a sequence alignment.

Definition at line 31 of file aligned_column.hh.

Constructor & Destructor Documentation

◆ AlignedColumn() [1/2]

AlignedColumn ( const AlignmentHandle aln,
int  index 
)

◆ AlignedColumn() [2/2]

construct empty (invalid) aligned column

Member Function Documentation

◆ GetIndex()

int GetIndex ( ) const

get index of column

See also
AlignmentHandle::GetIndex()

◆ GetResidue()

mol::ResidueView GetResidue ( int  row) const

get residue at row

See also
AlignmentHandle::GetResidue()

◆ GetResidueIndex()

int GetResidueIndex ( int  row) const

get residue index at row

See also
AlignmentHandle::GetResidueIndex()

◆ GetRowCount()

int GetRowCount ( ) const

get number of rows

See also
AlignmentHandle::GetCount()

◆ operator[]()

char operator[] ( int  row) const

The documentation for this class was generated from the following file: