NCBI C++ ToolKit
|
Search Toolkit Book for CVDBCursor
#include <sra/readers/sra/vdbread.hpp>
Protected Member Functions | |
void | Init (const CVDBTable &table) |
Protected Member Functions inherited from CSraRef< const VCursor > | |
CSraRef (TPointer ptr) | |
TObject ** | x_InitPtr (void) |
Private Attributes | |
CVDBTable | m_Table |
bool | m_RowOpened |
Additional Inherited Members | |
Public Types inherited from CSraRef< const VCursor > | |
typedef const VCursor | TObject |
typedef TObject * | TPointer |
Protected Types inherited from CSraRef< const VCursor > | |
typedef CSraRef< const VCursor > | TSelf |
typedef CSraRefTraits< const VCursor > | TTraits |
Static Protected Member Functions inherited from CSraRef< const VCursor > | |
static TObject * | s_AddRef (const TSelf &ref) |
Definition at line 372 of file vdbread.hpp.
|
inline |
Definition at line 376 of file vdbread.hpp.
Referenced by Close().
Definition at line 380 of file vdbread.hpp.
|
inline |
Definition at line 417 of file vdbread.hpp.
References CVDBCursor().
void CVDBCursor::CloseRow | ( | void | ) |
Definition at line 1338 of file vdbread.cpp.
References m_RowOpened, NCBI_THROW2, and RowIsOpened().
Referenced by OpenRowRc().
uint32_t CVDBCursor::GetElementCount | ( | TVDBRowId | row, |
const CVDBColumn & | column, | ||
uint32_t | elem_bits | ||
) | const |
Definition at line 1408 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT_FMT, column, DECLARE_SDK_GET_GUARD, NCBI_THROW2_FMT, and row.
Referenced by CWGSSeqIterator::x_GetQualityArraySize().
TVDBRowId CVDBCursor::GetMaxRowId | ( | void | ) | const |
Definition at line 1388 of file vdbread.cpp.
References GetRowIdRange(), and compile_time_bits::range().
Referenced by CSNPDb_Impl::CSNPDb_Impl(), CSNPDbFeatIterator::x_InitPage(), and CSNPDbGraphIterator::x_Next().
TVDBRowIdRange CVDBCursor::GetRowIdRange | ( | TVDBColumnIdx | column = 0 | ) | const |
Definition at line 1376 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT_FMT, column, and NCBI_THROW2_FMT.
Referenced by GetMaxRowId(), CVDBColumn::GetRowIdRange(), CWGSFeatureIterator::SelectRowRange(), CWGSProteinIterator::x_Init(), CWGSFeatureIterator::x_Init(), and CWGSGiIterator::x_Init().
Definition at line 386 of file vdbread.hpp.
References m_Table.
Referenced by operator<<(), and CVDBValue::SSaveRef::Set().
Definition at line 1306 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT_FMT, m_Table, NCBI_THROW2, NCBI_THROW2_FMT, table, and CSraRef< const VCursor >::x_InitPtr().
Referenced by CVDBCursor().
void CVDBCursor::OpenRow | ( | TVDBRowId | row_id | ) |
Definition at line 1366 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT_FMT, NCBI_THROW2_FMT, and OpenRowRc().
Definition at line 1351 of file vdbread.cpp.
References CloseRow(), and m_RowOpened.
Referenced by OpenRow(), and TryOpenRow().
void CVDBCursor::ReadElements | ( | TVDBRowId | row, |
const CVDBColumn & | column, | ||
uint32_t | elem_bits, | ||
uint32_t | start, | ||
uint32_t | count, | ||
void * | buffer | ||
) | const |
Definition at line 1427 of file vdbread.cpp.
References buffer, CHECK_VDB_TIMEOUT_FMT, column, DECLARE_SDK_GET_GUARD, Info(), LOG_POST, NCBI_THROW2_FMT, NCBI_THROW_FMT, row, and s_GetDebugLevel().
Referenced by CWGSDb_Impl::SAmbiguityInfo::Get2na(), CWGSSeqIterator::GetQualityVec(), and CWGSSeqIterator::x_GetQualityAnnot().
|
inline |
void CVDBCursor::SetParam | ( | const char * | name, |
const CTempString & | value | ||
) | const |
Definition at line 1395 of file vdbread.cpp.
References eNotFound, CSraRef< const VCursor >::GetPointer(), NCBI_THROW2_FMT, and rapidjson::value.
Referenced by CVDBValue::CVDBValue().
Definition at line 397 of file vdbread.hpp.
References OpenRowRc().
|
private |
Definition at line 426 of file vdbread.hpp.
Referenced by CloseRow(), OpenRowRc(), and RowIsOpened().
|
private |
Definition at line 425 of file vdbread.hpp.
Referenced by GetTable(), and Init().