NCBI C++ ToolKit
|
Search Toolkit Book for CVDBTable
#include <sra/readers/sra/vdbread.hpp>
Public Types | |
enum | EMissing { eMissing_Throw , eMissing_Allow } |
Public Types inherited from CSraRef< const VTable > | |
typedef const VTable | TObject |
typedef TObject * | TPointer |
Public Member Functions | |
CVDBTable (void) | |
CVDBTable (const CVDB &db, const char *table_name, EMissing missing=eMissing_Throw) | |
CVDBTable (const CVDBMgr &mgr, const string &acc_or_path, EMissing missing=eMissing_Throw) | |
const CVDB & | GetDb (void) const |
const string & | GetName (void) const |
string | GetFullName (void) const |
CNcbiOstream & | PrintFullName (CNcbiOstream &out) const |
void | Close (void) |
Public Member Functions inherited from CSraRef< const VTable > | |
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 |
Public Attributes | |
CVDB | m_Db |
string | m_Name |
Additional Inherited Members | |
Protected Types inherited from CSraRef< const VTable > | |
typedef CSraRef< const VTable > | TSelf |
typedef CSraRefTraits< const VTable > | TTraits |
Protected Member Functions inherited from CSraRef< const VTable > | |
CSraRef (TPointer ptr) | |
TObject ** | x_InitPtr (void) |
Static Protected Member Functions inherited from CSraRef< const VTable > | |
static TObject * | s_AddRef (const TSelf &ref) |
Definition at line 293 of file vdbread.hpp.
enum CVDBTable::EMissing |
Enumerator | |
---|---|
eMissing_Throw | |
eMissing_Allow |
Definition at line 297 of file vdbread.hpp.
|
inline |
Definition at line 302 of file vdbread.hpp.
Referenced by Close().
CVDBTable::CVDBTable | ( | const CVDB & | db, |
const char * | table_name, | ||
EMissing | missing = eMissing_Throw |
||
) |
Definition at line 1137 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT, DECLARE_SDK_GUARD, eMissing_Throw, GetFullName(), NCBI_THROW2, SIMULATE_SCHEMA_ERROR, table_name, and CSraRef< const VTable >::x_InitPtr().
CVDBTable::CVDBTable | ( | const CVDBMgr & | mgr, |
const string & | acc_or_path, | ||
EMissing | missing = eMissing_Throw |
||
) |
Definition at line 1169 of file vdbread.cpp.
References CHECK_VDB_TIMEOUT, CVPath::ConvertAccOrSysPathToPOSIX(), DECLARE_SDK_GUARD, eMissing_Throw, NCBI_THROW2, SIMULATE_OPEN_ERROR, and CSraRef< const VTable >::x_InitPtr().
|
inline |
Definition at line 323 of file vdbread.hpp.
References CVDBTable().
Definition at line 312 of file vdbread.hpp.
References m_Db.
Referenced by GetFullName(), and PrintFullName().
string CVDBTable::GetFullName | ( | void | ) | const |
Definition at line 1206 of file vdbread.cpp.
References GetDb(), CVDB::GetFullName(), and GetName().
Referenced by CVDBTable(), and CVDBTableIndex::GetFullName().
Definition at line 316 of file vdbread.hpp.
References m_Name.
Referenced by GetFullName(), and PrintFullName().
CNcbiOstream & CVDBTable::PrintFullName | ( | CNcbiOstream & | out | ) | const |
Definition at line 1218 of file vdbread.cpp.
References GetDb(), GetName(), out(), and CVDB::PrintFullName().
Referenced by operator<<(), CVDBTableIndex::PrintFullName(), and CVDBValue::SSaveRef::PrintFullName().
CVDB CVDBTable::m_Db |
Definition at line 328 of file vdbread.hpp.
Referenced by GetDb().
string CVDBTable::m_Name |
Definition at line 329 of file vdbread.hpp.
Referenced by GetName().