NCBI C++ ToolKit
|
Search Toolkit Book for CVDBTableIndex
#include <sra/readers/sra/vdbread.hpp>
Public Types | |
enum | EMissing { eMissing_Throw , eMissing_Allow } |
![]() | |
typedef const KIndex | TObject |
typedef TObject * | TPointer |
Public Member Functions | |
CVDBTableIndex (void) | |
CVDBTableIndex (const CVDBTable &table, const char *index_name, EMissing missing=eMissing_Throw) | |
const CVDBTable & | GetTable (void) const |
const char * | GetName (void) const |
string | GetFullName (void) const |
CNcbiOstream & | PrintFullName (CNcbiOstream &out) const |
TVDBRowIdRange | Find (const string &value) const |
void | Close (void) |
![]() | |
CSraRef (void) | |
CSraRef (const TSelf &ref) | |
CSraRef (TSelf &&ref) | |
Copy constructor from an existing CRef object,. More... | |
TSelf & | operator= (const TSelf &ref) |
TSelf & | operator= (TSelf &&ref) |
~CSraRef (void) | |
void | Release (void) |
TObject * | GetPointer (void) const |
operator TObject * (void) const | |
TObject * | operator-> (void) const |
TObject & | operator* (void) const |
Private Attributes | |
CVDBTable | m_Table |
const char * | m_Name |
Additional Inherited Members | |
![]() | |
typedef CSraRef< const KIndex > | TSelf |
typedef CSraRefTraits< const KIndex > | TTraits |
![]() | |
CSraRef (TPointer ptr) | |
TObject ** | x_InitPtr (void) |
![]() | |
static TObject * | s_AddRef (const TSelf &ref) |
Definition at line 333 of file vdbread.hpp.
Enumerator | |
---|---|
eMissing_Throw | |
eMissing_Allow |
Definition at line 337 of file vdbread.hpp.
|
inline |
Definition at line 342 of file vdbread.hpp.
Referenced by Close().
CVDBTableIndex::CVDBTableIndex | ( | const CVDBTable & | table, |
const char * | index_name, | ||
EMissing | missing = eMissing_Throw |
||
) |
Definition at line 1224 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT, eMissing_Throw, GetFullName(), NCBI_THROW2, SIMULATE_SCHEMA_ERROR, table, and CSraRef< const KIndex >::x_InitPtr().
|
inline |
Definition at line 362 of file vdbread.hpp.
References CVDBTableIndex().
TVDBRowIdRange CVDBTableIndex::Find | ( | const string & | value | ) | const |
Definition at line 1263 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT_FMT, NCBI_THROW2_FMT, compile_time_bits::range(), and value.
Referenced by CVDBGraphDb_Impl::CVDBGraphDb_Impl(), CSNPDb_Impl::FindSeq(), CVDBGraphDb_Impl::GetSeqInfo(), CVDBGraphDb_Impl::GetSeqInfoAtRow(), and CWGSDb_Impl::Lookup().
string CVDBTableIndex::GetFullName | ( | void | ) | const |
Definition at line 1251 of file vdbread.cpp.
References CVDBTable::GetFullName(), GetName(), and GetTable().
Referenced by CVDBTableIndex().
|
inline |
Definition at line 353 of file vdbread.hpp.
References m_Name.
Referenced by GetFullName(), and PrintFullName().
Definition at line 349 of file vdbread.hpp.
References m_Table.
Referenced by GetFullName(), and PrintFullName().
CNcbiOstream & CVDBTableIndex::PrintFullName | ( | CNcbiOstream & | out | ) | const |
Definition at line 1257 of file vdbread.cpp.
References GetName(), GetTable(), out(), and CVDBTable::PrintFullName().
Referenced by operator<<().
|
private |
Definition at line 368 of file vdbread.hpp.
Referenced by GetName().
|
private |
Definition at line 367 of file vdbread.hpp.
Referenced by GetTable().