NCBI C++ ToolKit
|
Search Toolkit Book for CAlignRange
CAlignRange Represents an element of pairwise alignment of two sequences. More...
#include <util/align_range.hpp>
Public Types | |
enum | EFlags { fReversed = 0x01 , fFirstRev = 0x02 } |
typedef Position | position_type |
typedef CAlignRange< Position > | TThisType |
typedef CRange< Position > | TRange |
Static Public Member Functions | |
static position_type | GetEmptyFrom (void) |
static position_type | GetEmptyToOpen (void) |
static position_type | GetEmptyTo (void) |
static position_type | GetEmptyLength (void) |
static TThisType | GetEmpty (void) |
static position_type | GetPositionMin (void) |
static position_type | GetPositionMax (void) |
Private Attributes | |
position_type | m_FirstFrom |
position_type | m_SecondFrom |
start More... | |
position_type | m_Length |
start on the aligned sequence More... | |
int | m_Flags |
length of the segment More... | |
CAlignRange Represents an element of pairwise alignment of two sequences.
CAlignRange := [from_1, to_open_1), [from_2, to_open_2), direction where: from_1 <= to_open_1, from_2 <= to_open_2 (to_open_1 - from_1) == (to_open_2 - from_2) mapping: if direct from_1 -> from_2, to_1 -> to_2 if reversed from_1 -> to_2, to_1 -> from_2
Definition at line 62 of file align_range.hpp.