NCBI C++ ToolKit
|
Search Toolkit Book for CBlastDbMetadata
Proxy class for retrieving meta data from a BLAST DB. More...
Public Member Functions | |
CBlastDbMetadata (const SSeqDBInitInfo &db_init_info) | |
string | GetFileName () const |
string | GetMoleculeType () const |
string | GetTitle () |
string | GetDate () |
string | GetNumberOfSequences () |
string | GetDbLength () |
string | GetDiskUsage () |
string | GetVersion () |
Private Member Functions | |
void | x_InitBlastDb () |
Initialize and cache BLAST DB handle if necessary. More... | |
Private Attributes | |
SSeqDBInitInfo | m_DbInitInfo |
Information to initialize the BLAST DB handle. More... | |
CRef< CSeqDB > | m_BlastDb |
BLAST DB handle. More... | |
Proxy class for retrieving meta data from a BLAST DB.
Definition at line 68 of file blastdb_formatter.cpp.
|
inline |
Definition at line 70 of file blastdb_formatter.cpp.
|
inline |
Definition at line 84 of file blastdb_formatter.cpp.
References CSeqDB::GetDate(), m_BlastDb, and x_InitBlastDb().
Referenced by CBlastDbFormatter::Write().
|
inline |
Definition at line 93 of file blastdb_formatter.cpp.
References CSeqDB::GetTotalLength(), m_BlastDb, NStr::UInt8ToString(), and x_InitBlastDb().
Referenced by CBlastDbFormatter::Write().
|
inline |
Definition at line 98 of file blastdb_formatter.cpp.
References CSeqDB::GetDiskUsage(), m_BlastDb, NStr::UInt8ToString(), and x_InitBlastDb().
Referenced by CBlastDbFormatter::Write().
|
inline |
Definition at line 74 of file blastdb_formatter.cpp.
References kEmptyStr, SSeqDBInitInfo::m_BlastDbName, m_DbInitInfo, and NStr::Replace().
Referenced by CBlastDbFormatter::Write().
|
inline |
Definition at line 77 of file blastdb_formatter.cpp.
References CSeqDB::ESeqType2String(), m_DbInitInfo, and SSeqDBInitInfo::m_MoleculeType.
Referenced by CBlastDbFormatter::Write().
|
inline |
Definition at line 88 of file blastdb_formatter.cpp.
References CSeqDB::GetNumSeqs(), NStr::IntToString(), m_BlastDb, and x_InitBlastDb().
Referenced by CBlastDbFormatter::Write().
|
inline |
Definition at line 80 of file blastdb_formatter.cpp.
References CSeqDB::GetTitle(), m_BlastDb, and x_InitBlastDb().
Referenced by CBlastDbFormatter::Write().
|
inline |
Definition at line 102 of file blastdb_formatter.cpp.
References eBDB_Version5, CSeqDB::GetBlastDbVersion(), NStr::IntToString(), m_BlastDb, and x_InitBlastDb().
Referenced by CBlastDbFormatter::Write().
|
inlineprivate |
Initialize and cache BLAST DB handle if necessary.
Definition at line 115 of file blastdb_formatter.cpp.
References _ASSERT, CRef< C, Locker >::Empty(), SSeqDBInitInfo::InitSeqDb(), m_BlastDb, m_DbInitInfo, and CRef< C, Locker >::NotEmpty().
Referenced by GetDate(), GetDbLength(), GetDiskUsage(), GetNumberOfSequences(), GetTitle(), and GetVersion().
BLAST DB handle.
Definition at line 112 of file blastdb_formatter.cpp.
Referenced by GetDate(), GetDbLength(), GetDiskUsage(), GetNumberOfSequences(), GetTitle(), GetVersion(), and x_InitBlastDb().
|
private |
Information to initialize the BLAST DB handle.
Definition at line 110 of file blastdb_formatter.cpp.
Referenced by GetFileName(), GetMoleculeType(), and x_InitBlastDb().