CDensegSegment::operator
bool(
void)
const 53 return!IsInvalidType();
136}
else if(row_from == -1) {
142row_pos = starts[2 * pre_seg +
m_Row] + lens[pre_seg];
144row_pos = starts[2 * next_seg +
m_Row];
148row_rg.
SetOpen(row_pos + 1, row_pos + 1);
244 if( !*
this)
return;
264: m_Flags(eAllSegments)
272, m_PreToPos_Anchor(-1)
286, m_AnchorRow(anchor_row)
288, m_TotalRange(TSignedRange::GetWhole())
298 constTSignedRange& range)
301, m_AnchorRow(anchor_row)
303, m_TotalRange(range)
326CDenseg_CI::operator
bool(
void)
const 328 returnm_Aln && m_Segment;
342 if(
typeid(*
this) ==
typeid(it)) {
352 if(
typeid(*
this) ==
typeid(it)) {
virtual const TSignedRange & GetRange(void) const
Get the selected row range.
virtual TSegTypeFlags GetType(void) const
Get current segment type.
virtual const TSignedRange & GetAlnRange(void) const
Get alignment range for the segment.
CDensegSegment(void)
CDensegSegment - IAlnSegment implementation for CAlnMap::CAlnChunk.
Implementation of IAlnSegmentIterator for CDense_seg.
TSignedRange m_TotalRange
void x_InitIterator(void)
virtual const value_type * operator->(void) const
virtual IAlnSegmentIterator & operator++(void)
Advance to the next segment.
bool x_Equals(const CDenseg_CI &other) const
virtual IAlnSegmentIterator * Clone(void) const
Create a copy of the iterator.
TSignedSeqPos m_PreToPos_Anchor
void x_InitSegment(void)
CDenseg_CI.
CDenseg_CI(void)
Create 'empty' iterator.
void x_CheckSegment(void)
virtual ~CDenseg_CI(void)
virtual bool operator!=(const IAlnSegmentIterator &it) const
virtual bool operator==(const IAlnSegmentIterator &it) const
Compare iterators.
virtual const value_type & operator*(void) const
CConstRef< objects::CSeq_align > m_Aln
Alignment segment iterator interface.
@ eSkipInserts
Iterate segments where at least some rows are aligned (including gap segments)
@ eInsertsOnly
Iterate only ranges not participating in the alignment (unaligned segments)
@ eAllSegments
Iterate all segments.
@ eSkipGaps
Skip gap segments (show only aligned ranges)
Alignment segment interface.
@ fAligned
Aligned segment.
@ fInvalid
The iterator is in bad state.
@ fIndel
Either anchor or the selected row is not present in the segment.
@ fReversed
The selected row is reversed (relative to the anchor).
bool IsAligned(void) const
USING_SCOPE(ncbi::objects)
int TSignedSeqPos
Type for signed sequence position.
void Reset(void)
Reset reference object.
bool NotEmpty(void) const
position_type GetToOpen(void) const
static TThisType GetEmpty(void)
TThisType & SetOpen(position_type from, position_type toOpen)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TTo GetTo(void) const
Get the To member data.
TFrom GetFrom(void) const
Get the From member data.
const TStarts & GetStarts(void) const
Get the Starts member data.
const TLens & GetLens(void) const
Get the Lens member data.
vector< TSignedSeqPos > TStarts
TNumseg GetNumseg(void) const
Get the Numseg member data.
where boath are integers</td > n< td ></td > n</tr > n< tr > n< td > tse</td > n< td > optional</td > n< td > String</td > n< td class=\"description\"> TSE option controls what blob is orig
#define row(bind, expected)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4