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

Search Toolkit Book for CGetFeature

#include <objtools/readers/getfeature.hpp>

+ Collaboration diagram for CGetFeature:

Public Types

typedef vector< SFeatInfo * > Tfeatinfo
 

Public Member Functions

 CGetFeature (string feat_file, string index_file)
 
 ~CGetFeature ()
 
TfeatinfoGetFeatInfo (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

CNcbiIfstreamm_FeatFile
 
CNcbiIfstreamm_FeatFileIndex
 
map< string, unsigned intm_OffsetMap
 
vector< SFeatInfo * > m_FeatInfoList
 
SFeatInfom_5FeatInfo
 
SFeatInfom_3FeatInfo
 

Detailed Description

Definition at line 42 of file getfeature.hpp.

Member Typedef Documentation

◆ Tfeatinfo

Definition at line 44 of file getfeature.hpp.

Constructor & Destructor Documentation

◆ CGetFeature()

CGetFeature::CGetFeature ( string  feat_file,
string  index_file 
)

Definition at line 40 of file getfeature.cpp.

◆ ~CGetFeature()

CGetFeature::~CGetFeature ( )

Definition at line 133 of file getfeature.cpp.

References m_FeatFile, m_FeatFileIndex, and x_Clear().

Member Function Documentation

◆ GetFeatInfo()

vector< SFeatInfo * > & CGetFeature::GetFeatInfo ( const string id_str,
const CRange< TSeqPos > &  seq_range,
SFeatInfo *&  feat5,
SFeatInfo *&  feat3,
int  max_feature = 3 
)

◆ x_Clear()

void CGetFeature::x_Clear ( void  )
private

Definition at line 143 of file getfeature.cpp.

References ITERATE, m_3FeatInfo, m_5FeatInfo, and m_FeatInfoList.

Referenced by GetFeatInfo(), and ~CGetFeature().

Member Data Documentation

◆ m_3FeatInfo

SFeatInfo* CGetFeature::m_3FeatInfo
private

Definition at line 63 of file getfeature.hpp.

Referenced by GetFeatInfo(), and x_Clear().

◆ m_5FeatInfo

SFeatInfo* CGetFeature::m_5FeatInfo
private

Definition at line 62 of file getfeature.hpp.

Referenced by GetFeatInfo(), and x_Clear().

◆ m_FeatFile

CNcbiIfstream* CGetFeature::m_FeatFile
private

Definition at line 58 of file getfeature.hpp.

Referenced by GetFeatInfo(), and ~CGetFeature().

◆ m_FeatFileIndex

CNcbiIfstream* CGetFeature::m_FeatFileIndex
private

Definition at line 59 of file getfeature.hpp.

Referenced by GetFeatInfo(), and ~CGetFeature().

◆ m_FeatInfoList

vector<SFeatInfo*> CGetFeature::m_FeatInfoList
private

Definition at line 61 of file getfeature.hpp.

Referenced by GetFeatInfo(), and x_Clear().

◆ m_OffsetMap

map<string, unsigned int > CGetFeature::m_OffsetMap
private

Definition at line 60 of file getfeature.hpp.

Referenced by GetFeatInfo().


The documentation for this class was generated from the following files:
Modified on Wed Feb 28 07:12:58 2024 by modify_doxy.py rev. 669887