NCBI C++ ToolKit
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
CSGAlnQualityScore Class Reference

Search Toolkit Book for CSGAlnQualityScore

#include <gui/widgets/seq_graphic/alignment_quality_score.hpp>

+ Inheritance diagram for CSGAlnQualityScore:
+ Collaboration diagram for CSGAlnQualityScore:

List of all members.

Classes

class  CAlnInfo
class  CQualityScoreIterator

Public Types

typedef unsigned char TScore
typedef CAttrRangeCollection
< TScore, TSeqPos
TScoreColl

Public Member Functions

 CSGAlnQualityScore (IAlnExplorer::TNumrow anchor, const objects::CSeq_align &aln, objects::CScope &scope)
ISGAlnScore interface implementation
virtual void CalculateScores ()
 CAlignOhterScore.
virtual bool HasScores () const
virtual IAlnScoreIteratorGetScoreIterator (int row) const
virtual CRgbaColor GetColorForScore (float score, IScoringMethod::EColorType type) const
virtual int GetSupportedColorTypes () const
virtual bool IsAverageable () const
virtual bool IsCacheable () const
virtual const stringGetScoringMethod () const

Static Public Member Functions

static const stringGetScoreName ()

Private Member Functions

void x_RetrieveQualityMap (IAlnExplorer::TNumrow row, bool remap)

Private Attributes

TScoreColl m_ScoreColl
CRef< CAlnInfom_AlnInfo

Detailed Description

Definition at line 43 of file alignment_quality_score.hpp.


Member Typedef Documentation

typedef unsigned char CSGAlnQualityScore::TScore

Definition at line 48 of file alignment_quality_score.hpp.

Definition at line 49 of file alignment_quality_score.hpp.


Constructor & Destructor Documentation

CSGAlnQualityScore::CSGAlnQualityScore ( IAlnExplorer::TNumrow  anchor,
const objects::CSeq_align &  aln,
objects::CScope &  scope 
) [inline]

Definition at line 105 of file alignment_quality_score.hpp.


Member Function Documentation

CAlignOhterScore.

Implements ISGAlnScore.

Definition at line 49 of file alignment_quality_score.cpp.

References HasScores(), m_AlnInfo, CRef< C, Locker >::Reset(), and x_RetrieveQualityMap().

CRgbaColor CSGAlnQualityScore::GetColorForScore ( float  score,
IScoringMethod::EColorType  type 
) const [virtual]

Implements ISGAlnScore.

Definition at line 78 of file alignment_quality_score.cpp.

References _ASSERT, f(), IScoringMethod::fBackground, and int.

Implements ISGAlnScore.

Definition at line 72 of file alignment_quality_score.cpp.

References m_ScoreColl.

Implements ISGAlnScore.

Definition at line 127 of file alignment_quality_score.cpp.

References GetScoreName().

Implements ISGAlnScore.

Definition at line 115 of file alignment_quality_score.cpp.

References IScoringMethod::fBackground.

bool CSGAlnQualityScore::HasScores ( ) const [virtual]

Implements ISGAlnScore.

Definition at line 66 of file alignment_quality_score.cpp.

References CAttrRangeCollection< Attr, Position >::empty(), and m_ScoreColl.

Referenced by CalculateScores().

Implements ISGAlnScore.

Definition at line 109 of file alignment_quality_score.cpp.

Implements ISGAlnScore.

Definition at line 121 of file alignment_quality_score.cpp.


Member Data Documentation

Definition at line 130 of file alignment_quality_score.hpp.

Referenced by CalculateScores(), and x_RetrieveQualityMap().

Definition at line 129 of file alignment_quality_score.hpp.

Referenced by GetScoreIterator(), HasScores(), and x_RetrieveQualityMap().


The documentation for this class was generated from the following files:
Modified on Fri Aug 22 18:21:27 2014 by modify_doxy.py rev. 426318