NCBI C++ ToolKit
|
Search Toolkit Book for CQualScoreWriter
#include <objtools/writers/fasta_writer.hpp>
Public Member Functions | |
CQualScoreWriter (CNcbiOstream &ostr, bool enable_gi=false) | |
virtual | ~CQualScoreWriter (void) |
void | Write (const CBioseq &bioseq) |
Private Member Functions | |
bool | x_WriteHeader (const CBioseq &bioseq) |
string | x_ComposeHeaderEnding (const string &graph_title, TSeqPos length, int max, int min) |
void | x_Advance (int &column, const int num_columns) |
Private Attributes | |
CNcbiOstream & | m_Ostr |
unique_ptr< CFastaOstreamEx > | m_FastaOstr |
Definition at line 242 of file fasta_writer.hpp.
CQualScoreWriter::CQualScoreWriter | ( | CNcbiOstream & | ostr, |
bool | enable_gi = false |
||
) |
Definition at line 1201 of file fasta_writer.cpp.
References CFastaOstream::fEnableGI, CFastaOstream::fHideGenBankPrefix, CFastaOstream::fNoDupCheck, and m_FastaOstr.
|
virtualdefault |
Definition at line 1218 of file fasta_writer.cpp.
References column, eExtreme_Positional, CBioseq_Base::GetAnnot(), CSeq_graph_Base::GetGraph(), CBioseq::GetLength(), CByte_graph_Base::GetValues(), CBioseq_Base::IsSetAnnot(), CByte_graph_Base::IsSetValues(), m_Ostr, x_Advance(), and x_WriteHeader().
Definition at line 1384 of file fasta_writer.cpp.
References column, and m_Ostr.
Referenced by Write().
|
private |
Definition at line 1276 of file fasta_writer.cpp.
References NStr::IntToString(), NStr::IsBlank(), max(), and min().
Referenced by x_WriteHeader().
Definition at line 1328 of file fasta_writer.cpp.
References CSeq_graph_Base::C_Graph::e_Byte, CBioseq_Base::GetAnnot(), CSeq_graph_Base::GetGraph(), CBioseq::GetLength(), CByte_graph_Base::GetValues(), CBioseq_Base::IsSetAnnot(), CBioseq::IsSetLength(), m_FastaOstr, max(), min(), x_ComposeHeaderEnding(), and x_GetMaxMin().
Referenced by Write().
|
private |
Definition at line 263 of file fasta_writer.hpp.
Referenced by CQualScoreWriter(), and x_WriteHeader().
|
private |
Definition at line 262 of file fasta_writer.hpp.
Referenced by Write(), and x_Advance().