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

Search Toolkit Book for CHitSeqRowId

CHitSeqRowId. More...

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

+ Inheritance diagram for CHitSeqRowId:
+ Collaboration diagram for CHitSeqRowId:

Public Member Functions

 CHitSeqRowId (int row, const objects::CSeq_id &id)
 CHitSeqRowId. More...
 
 CHitSeqRowId (const CHitSeqRowId &id)
 
virtual bool Equals (const IHitSeqId &id) const
 
virtual IHitSeqIdClone () const
 
virtual CConstRef< objects::CSeq_id > GetSeqId () const
 returns CSeq_id associated with IHitSeqId More...
 
int GetRow () const
 
- Public Member Functions inherited from IHitSeqId
virtual ~IHitSeqId ()
 

Protected Attributes

int m_Row
 
CConstRef< objects::CSeq_id > m_SeqId
 

Detailed Description

CHitSeqRowId.

Definition at line 83 of file dense_ds.hpp.

Constructor & Destructor Documentation

◆ CHitSeqRowId() [1/2]

CHitSeqRowId::CHitSeqRowId ( int  row,
const objects::CSeq_id &  id 
)

CHitSeqRowId.

Definition at line 77 of file dense_ds.cpp.

Referenced by Clone().

◆ CHitSeqRowId() [2/2]

CHitSeqRowId::CHitSeqRowId ( const CHitSeqRowId id)

Definition at line 84 of file dense_ds.cpp.

Member Function Documentation

◆ Clone()

IHitSeqId * CHitSeqRowId::Clone ( void  ) const
virtual

Implements IHitSeqId.

Definition at line 101 of file dense_ds.cpp.

References CHitSeqRowId(), m_Row, and m_SeqId.

◆ Equals()

bool CHitSeqRowId::Equals ( const IHitSeqId id) const
virtual

Implements IHitSeqId.

Definition at line 91 of file dense_ds.cpp.

References m_Row, and m_SeqId.

◆ GetRow()

int CHitSeqRowId::GetRow ( ) const
inline

Definition at line 94 of file dense_ds.hpp.

References m_Row.

Referenced by CHitMatrixDataSource::GetLabel(), and CHitMatrixDataSource::x_CreateHits().

◆ GetSeqId()

CConstRef< objects::CSeq_id > CHitSeqRowId::GetSeqId ( ) const
virtual

returns CSeq_id associated with IHitSeqId

Implements IHitSeqId.

Definition at line 107 of file dense_ds.cpp.

References m_SeqId.

Member Data Documentation

◆ m_Row

int CHitSeqRowId::m_Row
protected

Definition at line 96 of file dense_ds.hpp.

Referenced by Clone(), Equals(), and GetRow().

◆ m_SeqId

CConstRef<objects::CSeq_id> CHitSeqRowId::m_SeqId
protected

Definition at line 97 of file dense_ds.hpp.

Referenced by Clone(), Equals(), and GetSeqId().


The documentation for this class was generated from the following files:
Modified on Sun Apr 14 05:28:32 2024 by modify_doxy.py rev. 669887