NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
CDiagHit Class Reference

Search Toolkit Book for CDiagHit

#include <gui/widgets/hit_matrix/diag_hit.hpp>

+ Inheritance diagram for CDiagHit:
+ Collaboration diagram for CDiagHit:

Public Types

typedef list< CRef< objects::CScore > > TScore
 
typedef CDiagHitElement::TRange TRange
 
typedef CDiagHitElement::TAlnRange TAlnRange
 
- Public Types inherited from IHit
typedef IHitElement::TDim TDim
 
typedef CAlnUserOptions::EDirection TDirection
 

Public Member Functions

 CDiagHit (const objects::CSeq_align &seq_align, const CPairwiseAln &pr_align)
 CDiagHit. More...
 
virtual ~CDiagHit ()
 
virtual TDim GetElemsCount () const
 
virtual const IHitElementGetElem (TDim elem_index) const
 
virtual double GetScoreValue (const string &score_name) const
 
virtual const objects::CSeq_align * GetSeqAlign () const
 
- Public Member Functions inherited from IHit
virtual ~IHit ()
 

Protected Types

typedef vector< CDiagHitElementTElements
 

Protected Member Functions

const CPairwiseAlnx_GetAln () const
 

Protected Attributes

const objects::CSeq_align * m_SeqAlign
 
CConstRef< CPairwiseAlnm_Aln
 
TElements m_Elements
 

Friends

class CDiagHitElement
 

Detailed Description

Definition at line 86 of file diag_hit.hpp.

Member Typedef Documentation

◆ TAlnRange

Definition at line 93 of file diag_hit.hpp.

◆ TElements

typedef vector<CDiagHitElement> CDiagHit::TElements
protected

Definition at line 108 of file diag_hit.hpp.

◆ TRange

Definition at line 92 of file diag_hit.hpp.

◆ TScore

typedef list< CRef< objects::CScore > > CDiagHit::TScore

Definition at line 91 of file diag_hit.hpp.

Constructor & Destructor Documentation

◆ CDiagHit()

CDiagHit::CDiagHit ( const objects::CSeq_align &  seq_align,
const CPairwiseAln pr_align 
)

CDiagHit.

Definition at line 80 of file diag_hit.cpp.

References i, m_Elements, n, and CAlignRangeCollectionList< TAlnRange >::size().

◆ ~CDiagHit()

CDiagHit::~CDiagHit ( )
virtual

Definition at line 92 of file diag_hit.cpp.

Member Function Documentation

◆ GetElem()

const IHitElement & CDiagHit::GetElem ( TDim  elem_index) const
virtual

Implements IHit.

Definition at line 103 of file diag_hit.cpp.

References _ASSERT, and m_Elements.

◆ GetElemsCount()

CDiagHit::TDim CDiagHit::GetElemsCount ( ) const
virtual

Implements IHit.

Definition at line 97 of file diag_hit.cpp.

References m_Elements.

◆ GetScoreValue()

double CDiagHit::GetScoreValue ( const string score_name) const
virtual

Implements IHit.

Definition at line 110 of file diag_hit.cpp.

References _ASSERT, ITERATE, m_SeqAlign, and val.

◆ GetSeqAlign()

const objects::CSeq_align * CDiagHit::GetSeqAlign ( void  ) const
virtual

Implements IHit.

Definition at line 131 of file diag_hit.cpp.

References m_SeqAlign.

◆ x_GetAln()

const CPairwiseAln& CDiagHit::x_GetAln ( ) const
inlineprotected

Definition at line 105 of file diag_hit.hpp.

References m_Aln.

Referenced by CDiagHitElement::x_GetAlnRange().

Friends And Related Function Documentation

◆ CDiagHitElement

friend class CDiagHitElement
friend

Definition at line 89 of file diag_hit.hpp.

Member Data Documentation

◆ m_Aln

CConstRef<CPairwiseAln> CDiagHit::m_Aln
protected

Definition at line 111 of file diag_hit.hpp.

Referenced by x_GetAln().

◆ m_Elements

TElements CDiagHit::m_Elements
protected

Definition at line 112 of file diag_hit.hpp.

Referenced by CDiagHit(), GetElem(), and GetElemsCount().

◆ m_SeqAlign

const objects::CSeq_align* CDiagHit::m_SeqAlign
protected

Definition at line 110 of file diag_hit.hpp.

Referenced by GetScoreValue(), and GetSeqAlign().


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