NCBI C++ ToolKit
Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
CAlnSeqIdsExtract< TAlnSeqId, TIdConverter > Class Template Reference

Search Toolkit Book for CAlnSeqIdsExtract

IAlnSeqId extracting functor. More...

#include <objtools/alnmgr/seqids_extractor.hpp>

Public Types

typedef vector< TAlnSeqIdIRefTIdVec
 

Public Member Functions

 CAlnSeqIdsExtract (void)
 
 CAlnSeqIdsExtract (const TIdConverter &id_conv)
 
void operator() (const CSeq_align &seq_align, TIdVec &id_vec) const
 Extract ids for the alignment. More...
 
TAlnSeqId * NewAlnSeqId (const CSeq_id &id) const
 Convert seq-id to TAlnSeqId. More...
 

Static Private Member Functions

static bool IdVecEqual (const TIdVec &x, const TIdVec &y)
 

Private Attributes

TIdConverter m_IdConv
 

Detailed Description

template<class TAlnSeqId, class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
class CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >

IAlnSeqId extracting functor.

Definition at line 99 of file seqids_extractor.hpp.

Member Typedef Documentation

◆ TIdVec

template<class TAlnSeqId , class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
typedef vector<TAlnSeqIdIRef> CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::TIdVec

Definition at line 105 of file seqids_extractor.hpp.

Constructor & Destructor Documentation

◆ CAlnSeqIdsExtract() [1/2]

template<class TAlnSeqId , class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::CAlnSeqIdsExtract ( void  )
inline

Definition at line 102 of file seqids_extractor.hpp.

◆ CAlnSeqIdsExtract() [2/2]

template<class TAlnSeqId , class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::CAlnSeqIdsExtract ( const TIdConverter &  id_conv)
inline

Definition at line 103 of file seqids_extractor.hpp.

Member Function Documentation

◆ IdVecEqual()

template<class TAlnSeqId , class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
static bool CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::IdVecEqual ( const TIdVec x,
const TIdVec y 
)
inlinestaticprivate

◆ NewAlnSeqId()

template<class TAlnSeqId , class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
TAlnSeqId* CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::NewAlnSeqId ( const CSeq_id id) const
inline

◆ operator()()

template<class TAlnSeqId , class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
void CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::operator() ( const CSeq_align seq_align,
TIdVec id_vec 
) const
inline

Member Data Documentation

◆ m_IdConv

template<class TAlnSeqId , class TIdConverter = CAlnSeqIdConverter<TAlnSeqId>>
TIdConverter CAlnSeqIdsExtract< TAlnSeqId, TIdConverter >::m_IdConv
private

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