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

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

CNcbiOstreamm_Ostr
 
unique_ptr< CFastaOstreamExm_FastaOstr
 

Detailed Description

Definition at line 242 of file fasta_writer.hpp.

Constructor & Destructor Documentation

◆ CQualScoreWriter()

CQualScoreWriter::CQualScoreWriter ( CNcbiOstream ostr,
bool  enable_gi = false 
)

◆ ~CQualScoreWriter()

CQualScoreWriter::~CQualScoreWriter ( void  )
virtualdefault

Member Function Documentation

◆ Write()

void CQualScoreWriter::Write ( const CBioseq bioseq)

◆ x_Advance()

void CQualScoreWriter::x_Advance ( int column,
const int  num_columns 
)
private

Definition at line 1384 of file fasta_writer.cpp.

References column, and m_Ostr.

Referenced by Write().

◆ x_ComposeHeaderEnding()

string CQualScoreWriter::x_ComposeHeaderEnding ( const string graph_title,
TSeqPos  length,
int  max,
int  min 
)
private

Definition at line 1276 of file fasta_writer.cpp.

References NStr::IntToString(), NStr::IsBlank(), max(), and min().

Referenced by x_WriteHeader().

◆ x_WriteHeader()

bool CQualScoreWriter::x_WriteHeader ( const CBioseq bioseq)
private

Member Data Documentation

◆ m_FastaOstr

unique_ptr<CFastaOstreamEx> CQualScoreWriter::m_FastaOstr
private

Definition at line 263 of file fasta_writer.hpp.

Referenced by CQualScoreWriter(), and x_WriteHeader().

◆ m_Ostr

CNcbiOstream& CQualScoreWriter::m_Ostr
private

Definition at line 262 of file fasta_writer.hpp.

Referenced by Write(), and x_Advance().


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