NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CBlastDbMetadata Class Reference

Search Toolkit Book for CBlastDbMetadata

Proxy class for retrieving meta data from a BLAST DB. More...

+ Collaboration diagram for CBlastDbMetadata:

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< CSeqDBm_BlastDb
 BLAST DB handle. More...
 

Detailed Description

Proxy class for retrieving meta data from a BLAST DB.

Definition at line 68 of file blastdb_formatter.cpp.

Constructor & Destructor Documentation

◆ CBlastDbMetadata()

CBlastDbMetadata::CBlastDbMetadata ( const SSeqDBInitInfo db_init_info)
inline

Definition at line 70 of file blastdb_formatter.cpp.

Member Function Documentation

◆ GetDate()

string CBlastDbMetadata::GetDate ( void  )
inline

Definition at line 84 of file blastdb_formatter.cpp.

References CSeqDB::GetDate(), m_BlastDb, and x_InitBlastDb().

Referenced by CBlastDbFormatter::Write().

◆ GetDbLength()

string CBlastDbMetadata::GetDbLength ( void  )
inline

◆ GetDiskUsage()

string CBlastDbMetadata::GetDiskUsage ( )
inline

◆ GetFileName()

string CBlastDbMetadata::GetFileName ( void  ) const
inline

◆ GetMoleculeType()

string CBlastDbMetadata::GetMoleculeType ( ) const
inline

◆ GetNumberOfSequences()

string CBlastDbMetadata::GetNumberOfSequences ( )
inline

◆ GetTitle()

string CBlastDbMetadata::GetTitle ( void  )
inline

Definition at line 80 of file blastdb_formatter.cpp.

References CSeqDB::GetTitle(), m_BlastDb, and x_InitBlastDb().

Referenced by CBlastDbFormatter::Write().

◆ GetVersion()

string CBlastDbMetadata::GetVersion ( void  )
inline

◆ x_InitBlastDb()

void CBlastDbMetadata::x_InitBlastDb ( )
inlineprivate

Member Data Documentation

◆ m_BlastDb

CRef<CSeqDB> CBlastDbMetadata::m_BlastDb
private

BLAST DB handle.

Definition at line 112 of file blastdb_formatter.cpp.

Referenced by GetDate(), GetDbLength(), GetDiskUsage(), GetNumberOfSequences(), GetTitle(), GetVersion(), and x_InitBlastDb().

◆ m_DbInitInfo

SSeqDBInitInfo CBlastDbMetadata::m_DbInitInfo
private

Information to initialize the BLAST DB handle.

Definition at line 110 of file blastdb_formatter.cpp.

Referenced by GetFileName(), GetMoleculeType(), and x_InitBlastDb().


The documentation for this class was generated from the following file:
Modified on Fri Sep 20 14:57:38 2024 by modify_doxy.py rev. 669887