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

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  )

Member Function Documentation

◆ Write()

void CQualScoreWriter::Write ( const CBioseq bioseq)

◆ x_Advance()

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

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 

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)

Member Data Documentation

◆ m_FastaOstr

unique_ptr<CFastaOstreamEx> CQualScoreWriter::m_FastaOstr

Definition at line 263 of file fasta_writer.hpp.

Referenced by CQualScoreWriter(), and x_WriteHeader().

◆ m_Ostr

CNcbiOstream& CQualScoreWriter::m_Ostr

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 Wed Apr 24 14:15:38 2024 by rev. 669887