NCBI C++ ToolKit
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
CBestFeatFinder Class Reference

Search Toolkit Book for CBestFeatFinder

#include "best_feat_finder.hpp"
(Private to src/objtools/readers.)

+ Collaboration diagram for CBestFeatFinder:

Classes

class  CSeqLocSort
 

Public Member Functions

 CBestFeatFinder (void)
 
bool AddFeat (const CSeq_feat &new_cds)
 
CConstRef< CSeq_featFindBestFeatForLoc (const CSeq_loc &sought_loc) const
 
CConstRef< CSeq_featFindBestFeatForLoc (const int start_pos, const int stop_pos) const
 

Private Types

typedef std::multimap< CConstRef< CSeq_loc >, CConstRef< CSeq_feat >, CSeqLocSortTLocToFeatMap
 

Private Attributes

TLocToFeatMap loc_to_feat_map
 

Detailed Description

Definition at line 46 of file best_feat_finder.hpp.

Member Typedef Documentation

◆ TLocToFeatMap

Definition at line 68 of file best_feat_finder.hpp.

Constructor & Destructor Documentation

◆ CBestFeatFinder()

CBestFeatFinder::CBestFeatFinder ( void  )

Definition at line 43 of file best_feat_finder.cpp.

Member Function Documentation

◆ AddFeat()

bool CBestFeatFinder::AddFeat ( const CSeq_feat new_cds)

◆ FindBestFeatForLoc() [1/2]

CConstRef< CSeq_feat > CBestFeatFinder::FindBestFeatForLoc ( const CSeq_loc sought_loc) const

◆ FindBestFeatForLoc() [2/2]

CConstRef< CSeq_feat > CBestFeatFinder::FindBestFeatForLoc ( const int  start_pos,
const int  stop_pos 
) const

Definition at line 76 of file best_feat_finder.cpp.

References eExtreme_Positional, loc_to_feat_map, and CSeq_loc::SetInt().

Member Data Documentation

◆ loc_to_feat_map

TLocToFeatMap CBestFeatFinder::loc_to_feat_map
private

Definition at line 69 of file best_feat_finder.hpp.

Referenced by AddFeat(), and FindBestFeatForLoc().


The documentation for this class was generated from the following files:
Modified on Tue May 07 08:15:59 2024 by modify_doxy.py rev. 669887