NCBI C++ ToolKit
|
Search Toolkit Book for CBestFeatFinder
#include "best_feat_finder.hpp"
(Private to src/objtools/readers
.)
Classes | |
class | CSeqLocSort |
Public Member Functions | |
CBestFeatFinder (void) | |
bool | AddFeat (const CSeq_feat &new_cds) |
CConstRef< CSeq_feat > | FindBestFeatForLoc (const CSeq_loc &sought_loc) const |
CConstRef< CSeq_feat > | FindBestFeatForLoc (const int start_pos, const int stop_pos) const |
Private Types | |
typedef std::multimap< CConstRef< CSeq_loc >, CConstRef< CSeq_feat >, CSeqLocSort > | TLocToFeatMap |
Private Attributes | |
TLocToFeatMap | loc_to_feat_map |
Definition at line 46 of file best_feat_finder.hpp.
|
private |
Definition at line 68 of file best_feat_finder.hpp.
CBestFeatFinder::CBestFeatFinder | ( | void | ) |
Definition at line 43 of file best_feat_finder.cpp.
Definition at line 48 of file best_feat_finder.cpp.
References CSeq_feat_Base::GetLocation(), and loc_to_feat_map.
Referenced by CFeatureTableReader_Imp::ReadSequinFeatureTable().
Definition at line 62 of file best_feat_finder.cpp.
References eExtreme_Positional, CSeq_loc::GetStart(), and CSeq_loc::GetStop().
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().
|
private |
Definition at line 69 of file best_feat_finder.hpp.
Referenced by AddFeat(), and FindBestFeatForLoc().