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

Search Toolkit Book for CSeq_annot_CI

CSeq_annot_CI –. More...

#include <objmgr/seq_annot_ci.hpp>

+ Collaboration diagram for CSeq_annot_CI:

Public Types

enum  EFlags { eSearch_entry , eSearch_recursive }
 

Public Member Functions

 CSeq_annot_CI (void)
 Create an empty iterator. More...
 
 CSeq_annot_CI (const CSeq_entry_Handle &entry, EFlags flags=eSearch_recursive)
 Create an iterator that enumerates CSeq_annot objects related to the given seq-entry. More...
 
 CSeq_annot_CI (const CBioseq_set_Handle &bioseq_set, EFlags flags=eSearch_recursive)
 Create an iterator that enumerates CSeq_annot objects related to the given seq-set. More...
 
 CSeq_annot_CI (CScope &scope, const CSeq_entry &entry, EFlags flags=eSearch_recursive)
 Create an iterator that enumerates CSeq_annot objects related to the given seq-entry from different scope. More...
 
 CSeq_annot_CI (const CBioseq_Handle &bioseq)
 Create an iterator that enumerates CSeq_aannot objects related to the given bioseq up to the TSE. More...
 
 CSeq_annot_CI (const CSeq_annot_CI &iter)
 
 ~CSeq_annot_CI (void)
 
CSeq_annot_CIoperator= (const CSeq_annot_CI &iter)
 
 DECLARE_OPERATOR_BOOL (m_CurrentAnnot)
 Check if iterator points to an object. More...
 
CSeq_annot_CIoperator++ (void)
 Move to the next object in iterated sequence. More...
 
CScopeGetScope (void) const
 Get the current scope of the iterator. More...
 
const CSeq_annot_Handleoperator* (void) const
 
const CSeq_annot_Handleoperator-> (void) const
 

Private Types

typedef vector< CRef< CSeq_annot_Info > > TAnnots
 
typedef TAnnots::const_iterator TAnnot_CI
 
typedef stack< CSeq_entry_CITEntryStack
 

Private Member Functions

void x_Initialize (const CSeq_entry_Handle &entry_handle, EFlags flags)
 
void x_SetEntry (const CSeq_entry_Handle &entry)
 
void x_Push (void)
 
void x_Settle (void)
 
const TAnnotsx_GetAnnots (void) const
 

Private Attributes

CSeq_entry_Handle m_CurrentEntry
 
TAnnot_CI m_AnnotIter
 
CSeq_annot_Handle m_CurrentAnnot
 
TEntryStack m_EntryStack
 
bool m_UpTree
 

Detailed Description

CSeq_annot_CI –.

enumerate CSeq_annot objects - packs of annotations (features, graphs, alignments etc.)

Definition at line 72 of file seq_annot_ci.hpp.


The documentation for this class was generated from the following files:
Modified on Tue Apr 30 06:37:37 2024 by modify_doxy.py rev. 669887