NCBI C++ ToolKit
|
Search Toolkit Book for CSNPDbPageIterator
#include <sra/readers/sra/snpread.hpp>
Protected Member Functions | |
CSNPDb_Impl & | GetDb (void) const |
const CSNPDb_Impl::SPageTableCursor & | Cur (void) const |
CSNPDb_Impl::TSeqInfoList::const_iterator | x_GetSeqIter () const |
CSNPDb_Impl::TTrackInfoList::const_iterator | x_GetTrackIter () const |
TVDBRowId | x_GetSeqVDBRowId () const |
TVDBRowId | x_GetTrackVDBRowId () const |
CRange< TVDBRowId > | x_GetPageVDBRowRange () const |
TVDBRowId | x_GetGraphVDBRowId () const |
void | x_ReportInvalid (const char *method) const |
void | x_CheckValid (const char *method) const |
void | x_Next (void) |
Friends | |
class | CSNPDbFeatIterator |
Additional Inherited Members | |
![]() | |
enum | ESearchMode { eSearchByOverlap , eSearchByStart } |
enum | EFeatSubtype { eFeatSubtype_unknown = 0 , eFeatSubtype_identity = 1 , eFeatSubtype_inversion = 2 , eFeatSubtype_single_nucleotide_variation = 3 , eFeatSubtype_multi_nucleotide_variation = 4 , eFeatSubtype_deletion_insertion = 5 , eFeatSubtype_deletion = 6 , eFeatSubtype_insertion = 7 , eFeatSubtype_str = 8 } |
enum | EFeatSubtypeChar { eFeatSubtypeChar_unknown = 'U' , eFeatSubtypeChar_identity = '-' , eFeatSubtypeChar_inversion = 'V' , eFeatSubtypeChar_single_nucleotide_variation = 'S' , eFeatSubtypeChar_multi_nucleotide_variation = 'M' , eFeatSubtypeChar_deletion_insertion = 'L' , eFeatSubtypeChar_deletion = 'D' , eFeatSubtypeChar_insertion = 'I' , eFeatSubtypeChar_str = 'R' } |
typedef Uint8 | TFilter |
typedef int | TSplitVersion |
typedef int | TChunkId |
Definition at line 641 of file snpread.hpp.
CSNPDbPageIterator::CSNPDbPageIterator | ( | void | ) |
Definition at line 1875 of file snpread.cpp.
CSNPDbPageIterator::CSNPDbPageIterator | ( | const CSNPDb & | db, |
const CSeq_id_Handle & | ref_id, | ||
TSeqPos | ref_pos = 0 , |
||
TSeqPos | window = 0 , |
||
ESearchMode | search_mode = eSearchByOverlap |
||
) |
Definition at line 1884 of file snpread.cpp.
References kInvalidSeqPos, and Select().
CSNPDbPageIterator::CSNPDbPageIterator | ( | const CSNPDb & | db, |
const CSeq_id_Handle & | ref_id, | ||
COpenRange< TSeqPos > | ref_range, | ||
ESearchMode | search_mode = eSearchByOverlap |
||
) |
Definition at line 1896 of file snpread.cpp.
References compile_time_bits::range(), and Select().
CSNPDbPageIterator::CSNPDbPageIterator | ( | const CSNPDbSeqIterator & | seq, |
COpenRange< TSeqPos > | ref_range, | ||
ESearchMode | search_mode = eSearchByOverlap |
||
) |
Definition at line 1906 of file snpread.cpp.
References compile_time_bits::range(), and Select().
CSNPDbPageIterator::CSNPDbPageIterator | ( | const CSNPDbPageIterator & | iter | ) |
Definition at line 1915 of file snpread.cpp.
CSNPDbPageIterator::~CSNPDbPageIterator | ( | void | ) |
Definition at line 1940 of file snpread.cpp.
References Reset().
|
inlineprotected |
Definition at line 721 of file snpread.hpp.
References m_Cur.
Referenced by GetFeatCount(), and GetFirstFeatRowId().
CSNPDbPageIterator::DECLARE_OPERATOR_BOOL | ( | ) |
|
inlineprotected |
Definition at line 718 of file snpread.hpp.
References CSNPDbSeqIterator::GetDb(), and GetRefIter().
Referenced by CSNPDbFeatIterator::GetDb(), GetPageSize(), Reset(), Select(), x_GetSeqVDBRowId(), and x_GetTrackVDBRowId().
TVDBRowCount CSNPDbPageIterator::GetFeatCount | ( | void | ) | const |
Definition at line 2022 of file snpread.cpp.
References Cur(), GetPageRowId(), and x_CheckValid().
TVDBRowId CSNPDbPageIterator::GetFirstFeatRowId | ( | void | ) | const |
Definition at line 2015 of file snpread.cpp.
References Cur(), GetPageRowId(), and x_CheckValid().
Referenced by CSNPDbFeatIterator::x_InitPage().
|
inline |
Definition at line 692 of file snpread.hpp.
References m_CurrPagePos.
Referenced by GetPageRange(), and CSNPDbFeatIterator::x_GetGraphVDBRowId().
Definition at line 695 of file snpread.hpp.
References GetPagePos(), and GetPageSize().
|
inline |
Definition at line 700 of file snpread.hpp.
References m_CurrPageRowId.
Referenced by GetFeatCount(), GetFirstFeatRowId(), and CSNPDbFeatIterator::GetPageRowId().
|
inline |
Definition at line 689 of file snpread.hpp.
References GetDb(), and CSNPDb_Impl::GetPageSize().
Referenced by GetPageRange().
|
inline |
Definition at line 704 of file snpread.hpp.
References m_SeqIter.
Referenced by GetDb(), CSNPDbFeatIterator::GetRefIter(), GetSeqId(), GetSeqIdHandle(), x_GetGraphVDBRowId(), x_GetPageVDBRowRange(), x_GetSeqIter(), and x_GetTrackIter().
|
inline |
Definition at line 678 of file snpread.hpp.
References m_SearchMode.
Referenced by CSNPDbFeatIterator::GetSearchMode().
Definition at line 675 of file snpread.hpp.
References m_SearchRange.
Referenced by CSNPDbFeatIterator::GetSearchRange().
Definition at line 682 of file snpread.hpp.
References GetRefIter(), and CSNPDbSeqIterator::GetSeqId().
Referenced by CSNPDbFeatIterator::GetSeqId().
|
inline |
Definition at line 685 of file snpread.hpp.
References GetRefIter(), and CSNPDbSeqIterator::GetSeqIdHandle().
Referenced by CSNPDbFeatIterator::GetSeqIdHandle().
|
inline |
Definition at line 670 of file snpread.hpp.
References x_Next().
CSNPDbPageIterator & CSNPDbPageIterator::operator= | ( | const CSNPDbPageIterator & | iter | ) |
Definition at line 1922 of file snpread.cpp.
References m_Cur, m_CurrPagePos, m_CurrPageRowId, m_CurrPageSet, m_GraphCur, m_LastGraphRowId, m_SearchMode, m_SearchRange, m_SeqIter, and Reset().
void CSNPDbPageIterator::Reset | ( | void | ) |
Definition at line 1860 of file snpread.cpp.
References _ASSERT, GetDb(), kInvalidSeqPos, m_Cur, m_CurrPagePos, m_CurrPageRowId, m_GraphCur, m_LastGraphRowId, m_SeqIter, CSNPDb_Impl::Put(), and CSNPDbSeqIterator::Reset().
Referenced by operator=(), CSNPDbFeatIterator::Reset(), and ~CSNPDbPageIterator().
CSNPDbPageIterator & CSNPDbPageIterator::Select | ( | COpenRange< TSeqPos > | ref_range, |
ESearchMode | search_mode = eSearchByOverlap |
||
) |
Definition at line 1947 of file snpread.cpp.
References COpenRange< Position >::Empty(), SSNPDb_Defs::eSearchByOverlap, GetDb(), COpenRange< Position >::GetFrom(), kInvalidSeqPos, kMaxSNPLength, kPageSize, m_Cur, m_CurrPagePos, m_CurrPageRowId, m_CurrPageSet, CSNPDb_Impl::SSeqInfo::SPageSet::m_PageCount, CSNPDb_Impl::SSeqInfo::SPageSet::m_RowId, m_SearchMode, m_SearchRange, m_SeqIter, CSNPDb_Impl::SSeqInfo::SPageSet::m_SeqPos, and CSNPDb_Impl::Page().
Referenced by CSNPDbPageIterator(), and CSNPDbFeatIterator::Select().
|
inline |
Definition at line 711 of file snpread.hpp.
References m_SeqIter, and CSNPDbSeqIterator::SetTrack().
|
inlineprotected |
Definition at line 747 of file snpread.hpp.
References x_ReportInvalid().
Referenced by GetFeatCount(), GetFirstFeatRowId(), and x_Next().
|
inlineprotected |
Definition at line 742 of file snpread.hpp.
References CSNPDbSeqIterator::GetGraphVDBRowId(), and GetRefIter().
Definition at line 739 of file snpread.hpp.
References CSNPDbSeqIterator::GetPageVDBRowRange(), and GetRefIter().
|
inlineprotected |
Definition at line 725 of file snpread.hpp.
References GetRefIter(), and CSNPDbSeqIterator::x_GetSeqIter().
Referenced by CSNPDbFeatIterator::x_GetSeqIter(), and x_GetSeqVDBRowId().
|
inlineprotected |
Definition at line 732 of file snpread.hpp.
References GetDb(), x_GetSeqIter(), and CSNPDb_Impl::x_GetSeqVDBRowId().
|
inlineprotected |
Definition at line 728 of file snpread.hpp.
References GetRefIter(), and CSNPDbSeqIterator::x_GetTrackIter().
Referenced by x_GetTrackVDBRowId().
|
inlineprotected |
Definition at line 735 of file snpread.hpp.
References GetDb(), x_GetTrackIter(), and CSNPDb_Impl::x_GetTrackVDBRowId().
|
protected |
Definition at line 1983 of file snpread.cpp.
References kInvalidSeqPos, kPageSize, m_CurrPagePos, m_CurrPageRowId, m_CurrPageSet, m_SeqIter, and x_CheckValid().
Referenced by operator++().
|
protected |
Definition at line 2007 of file snpread.cpp.
References NCBI_THROW_FMT.
Referenced by x_CheckValid().
|
friend |
Definition at line 716 of file snpread.hpp.
|
private |
Definition at line 758 of file snpread.hpp.
Referenced by Cur(), operator=(), Reset(), and Select().
|
private |
Definition at line 766 of file snpread.hpp.
Referenced by GetPagePos(), operator=(), Reset(), Select(), and x_Next().
|
private |
Definition at line 765 of file snpread.hpp.
Referenced by GetPageRowId(), operator=(), Reset(), Select(), and x_Next().
|
private |
Definition at line 764 of file snpread.hpp.
Referenced by operator=(), Select(), and x_Next().
|
mutableprivate |
Definition at line 759 of file snpread.hpp.
Referenced by operator=(), and Reset().
|
mutableprivate |
Definition at line 760 of file snpread.hpp.
Referenced by operator=(), and Reset().
|
private |
Definition at line 768 of file snpread.hpp.
Referenced by GetSearchMode(), operator=(), and Select().
Definition at line 762 of file snpread.hpp.
Referenced by GetSearchRange(), operator=(), and Select().
|
private |
Definition at line 756 of file snpread.hpp.
Referenced by GetRefIter(), operator=(), Reset(), Select(), SetTrack(), and x_Next().