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

Search Toolkit Book for CBioseq_CI

CBioseq_CI –. More...

#include <objmgr/bioseq_ci.hpp>

+ Collaboration diagram for CBioseq_CI:

Public Types

enum  EBioseqLevelFlag { eLevel_All , eLevel_Mains , eLevel_Parts , eLevel_IgnoreClass }
 Class of bioseqs to iterate. More...
 

Public Member Functions

 CBioseq_CI (void)
 
 CBioseq_CI (const CSeq_entry_Handle &entry, CSeq_inst::EMol filter=CSeq_inst::eMol_not_set, EBioseqLevelFlag level=eLevel_All)
 Create an iterator that enumerates bioseqs from the entry taken from the scope. More...
 
 CBioseq_CI (const CBioseq_set_Handle &bioseq_set, CSeq_inst::EMol filter=CSeq_inst::eMol_not_set, EBioseqLevelFlag level=eLevel_All)
 
 CBioseq_CI (CScope &scope, const CSeq_entry &entry, CSeq_inst::EMol filter=CSeq_inst::eMol_not_set, EBioseqLevelFlag level=eLevel_All)
 Create an iterator that enumerates bioseqs from the entry taken from the given scope. More...
 
 CBioseq_CI (const CBioseq_CI &bioseq_ci)
 
 ~CBioseq_CI (void)
 
CScopeGetScope (void) const
 Get the current scope for the iterator. More...
 
CBioseq_CIoperator= (const CBioseq_CI &bioseq_ci)
 
CBioseq_CIoperator++ (void)
 Move to the next object in iterated sequence. More...
 
 DECLARE_OPERATOR_BOOL (m_CurrentBioseq)
 Check if iterator points to an object. More...
 
const CBioseq_Handleoperator* (void) const
 
const CBioseq_Handleoperator-> (void) const
 

Private Types

typedef vector< CSeq_entry_CITEntryStack
 

Private Member Functions

void x_Initialize (const CSeq_entry_Handle &entry)
 
void x_PushEntry (const CSeq_entry_Handle &entry)
 
void x_PopEntry (bool next=true)
 
void x_NextEntry (void)
 
void x_Settle (void)
 
bool x_IsValidMolType (const CBioseq_Info &seq) const
 
bool x_SkipClass (CBioseq_set::TClass set_class)
 

Private Attributes

CHeapScope m_Scope
 
CSeq_inst::EMol m_Filter
 
EBioseqLevelFlag m_Level
 
CSeq_entry_Handle m_CurrentEntry
 
CBioseq_Handle m_CurrentBioseq
 
TEntryStack m_EntryStack
 
int m_InParts
 

Detailed Description

CBioseq_CI –.

Enumerate bioseqs in a given seq-entry

Definition at line 68 of file bioseq_ci.hpp.


The documentation for this class was generated from the following files:
Modified on Wed Jun 19 17:05:04 2024 by modify_doxy.py rev. 669887