NCBI C++ ToolKit
|
Search Toolkit Book for CGetFeature
#include <objtools/readers/getfeature.hpp>
Public Types | |
typedef vector< SFeatInfo * > | Tfeatinfo |
Public Member Functions | |
CGetFeature (string feat_file, string index_file) | |
~CGetFeature () | |
Tfeatinfo & | GetFeatInfo (const string &id_str, const CRange< TSeqPos > &seq_range, SFeatInfo *&feat5, SFeatInfo *&feat3, int max_feature=3) |
Private Member Functions | |
void | x_Clear () |
Private Attributes | |
CNcbiIfstream * | m_FeatFile |
CNcbiIfstream * | m_FeatFileIndex |
map< string, unsigned int > | m_OffsetMap |
vector< SFeatInfo * > | m_FeatInfoList |
SFeatInfo * | m_5FeatInfo |
SFeatInfo * | m_3FeatInfo |
Definition at line 42 of file getfeature.hpp.
typedef vector<SFeatInfo*> CGetFeature::Tfeatinfo |
Definition at line 44 of file getfeature.hpp.
Definition at line 40 of file getfeature.cpp.
CGetFeature::~CGetFeature | ( | ) |
Definition at line 133 of file getfeature.cpp.
References m_FeatFile, m_FeatFileIndex, and x_Clear().
vector< SFeatInfo * > & CGetFeature::GetFeatInfo | ( | const string & | id_str, |
const CRange< TSeqPos > & | seq_range, | ||
SFeatInfo *& | feat5, | ||
SFeatInfo *& | feat3, | ||
int | max_feature = 3 |
||
) |
Definition at line 48 of file getfeature.cpp.
References count, map_checker< Container >::end(), map_checker< Container >::find(), SFeatInfo::id, SOffsetInfo::id, map_checker< Container >::insert(), COpenRange< Position >::IntersectingWith(), m_3FeatInfo, m_5FeatInfo, m_FeatFile, m_FeatFileIndex, m_FeatInfoList, m_OffsetMap, offset, SOffsetInfo::offset, SFeatInfo::range, and x_Clear().
|
private |
Definition at line 143 of file getfeature.cpp.
References ITERATE, m_3FeatInfo, m_5FeatInfo, and m_FeatInfoList.
Referenced by GetFeatInfo(), and ~CGetFeature().
|
private |
Definition at line 63 of file getfeature.hpp.
Referenced by GetFeatInfo(), and x_Clear().
|
private |
Definition at line 62 of file getfeature.hpp.
Referenced by GetFeatInfo(), and x_Clear().
|
private |
Definition at line 58 of file getfeature.hpp.
Referenced by GetFeatInfo(), and ~CGetFeature().
|
private |
Definition at line 59 of file getfeature.hpp.
Referenced by GetFeatInfo(), and ~CGetFeature().
|
private |
Definition at line 61 of file getfeature.hpp.
Referenced by GetFeatInfo(), and x_Clear().
Definition at line 60 of file getfeature.hpp.
Referenced by GetFeatInfo().