NCBI C++ ToolKit
|
Search Toolkit Book for CBlastDB_BioseqFormatter
#include <objtools/blast/blastdb_format/seq_formatter.hpp>
Public Member Functions | |
CBlastDB_BioseqFormatter (CSeqDB &blastdb, CNcbiOstream &out) | |
Constructor. More... | |
void | DumpAll (const CBlastDB_FormatterConfig &config) |
int | Write (CSeqDB::TOID oid, const CBlastDB_FormatterConfig &config, string target_id=kEmptyStr) |
Retun 0 if Sucess otherwise -1. More... | |
Public Member Functions inherited from CBlastDB_Formatter | |
CBlastDB_Formatter () | |
virtual | ~CBlastDB_Formatter () |
Private Member Functions | |
CBlastDB_BioseqFormatter (const CBlastDB_BioseqFormatter &rhs) | |
Prohibit copy constructor. More... | |
CBlastDB_BioseqFormatter & | operator= (const CBlastDB_BioseqFormatter &rhs) |
Prohibit assignment operator. More... | |
Private Attributes | |
CSeqDB & | m_BlastDb |
The BLAST database from which to extract data. More... | |
CNcbiOstream & | m_Out |
Definition at line 168 of file seq_formatter.hpp.
CBlastDB_BioseqFormatter::CBlastDB_BioseqFormatter | ( | CSeqDB & | blastdb, |
CNcbiOstream & | out | ||
) |
Constructor.
blastdb | BLAST database from which to retrieve the data [in] |
out | output stream to write the data [in] |
Definition at line 509 of file seq_formatter.cpp.
|
private |
Prohibit copy constructor.
|
virtual |
Implements CBlastDB_Formatter.
Definition at line 543 of file seq_formatter.cpp.
References CSeqDB::CheckOrFindOID(), i, m_BlastDb, and Write().
|
private |
Prohibit assignment operator.
|
virtual |
Retun 0 if Sucess otherwise -1.
Implements CBlastDB_Formatter.
Definition at line 514 of file seq_formatter.cpp.
References eGiId, CRef< C, Locker >::Empty(), CSeqDB::GetBioseq(), GI_FROM, kEmptyStr, m_BlastDb, m_Out, MSerial_AsnText, SeqDB_SimplifySeqid(), and ZERO_GI.
Referenced by DumpAll().
|
private |
The BLAST database from which to extract data.
Definition at line 184 of file seq_formatter.hpp.
|
private |
Definition at line 185 of file seq_formatter.hpp.
Referenced by Write().