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

Search Toolkit Book for CAnnotTypes_CI

#include <objmgr/annot_types_ci.hpp>

+ Inheritance diagram for CAnnotTypes_CI:
+ Collaboration diagram for CAnnotTypes_CI:

Public Types

typedef SAnnotSelector::TAnnotType TAnnotType
 
typedef vector< SAnnotTypeSelectorTAnnotTypes
 
typedef set< CAnnotNameTAnnotNames
 

Public Member Functions

 CAnnotTypes_CI (void)
 
 CAnnotTypes_CI (CScope &scope)
 
 CAnnotTypes_CI (TAnnotType type, const CBioseq_Handle &bioseq, const CRange< TSeqPos > &range, ENa_strand strand, const SAnnotSelector *params=0)
 
 CAnnotTypes_CI (TAnnotType type, CScope &scope, const CSeq_loc &loc, const SAnnotSelector *params=0)
 
 CAnnotTypes_CI (TAnnotType type, const CSeq_annot_Handle &annot, const SAnnotSelector *params=0)
 
 CAnnotTypes_CI (TAnnotType type, const CSeq_loc &loc, const CSeq_annot_Handle &annot, const SAnnotSelector *params=0)
 
 CAnnotTypes_CI (TAnnotType type, const CSeq_entry_Handle &entry, const SAnnotSelector *params=0)
 
virtual ~CAnnotTypes_CI (void)
 
void Rewind (void)
 
CSeq_annot_Handle GetAnnot (void) const
 
const CSeq_annot_HandleGetSeq_annot_Handle (void) const
 
size_t GetSize (void) const
 
bool MaxSearchSegmentsLimitIsReached (void) const
 
const TAnnotTypesGetAnnotTypes (void) const
 
const TAnnotNamesGetAnnotNames (void) const
 
Uint8 GetCostOfLoadingInBytes (void) const
 Get collected cost of loading requested data in bytes. More...
 
double GetCostOfLoadingInSeconds (void) const
 Get collected cost of loading requested data in seconds. More...
 

Protected Types

enum  EAtEnd { at_end }
 
typedef vector< CAnnotObject_RefTAnnotSet
 
typedef TAnnotSet::const_iterator TIterator
 

Protected Member Functions

bool IsValid (void) const
 
void Next (void)
 
void Prev (void)
 
const CAnnotObject_RefGet (void) const
 
CScopeGetScope (void) const
 
CAnnot_CollectorGetCollector (void)
 
const TIteratorGetIterator (void) const
 
 CAnnotTypes_CI (const CAnnotTypes_CI &src, EAtEnd)
 
bool operator!= (const CAnnotTypes_CI &it) const
 

Private Member Functions

const TAnnotSetx_GetAnnotSet (void) const
 
void x_Init (CScope &scope, const CSeq_loc &loc, const SAnnotSelector &params)
 

Private Attributes

CRef< CAnnot_Collectorm_DataCollector
 
TIterator m_CurrAnnot
 

Friends

class CAnnot_CI
 
class CTableFieldHandle_Base
 

Detailed Description

Definition at line 50 of file annot_types_ci.hpp.

Member Typedef Documentation

◆ TAnnotNames

Definition at line 109 of file annot_types_ci.hpp.

◆ TAnnotSet

typedef vector<CAnnotObject_Ref> CAnnotTypes_CI::TAnnotSet
protected

Definition at line 123 of file annot_types_ci.hpp.

◆ TAnnotType

Definition at line 53 of file annot_types_ci.hpp.

◆ TAnnotTypes

Definition at line 105 of file annot_types_ci.hpp.

◆ TIterator

typedef TAnnotSet::const_iterator CAnnotTypes_CI::TIterator
protected

Definition at line 124 of file annot_types_ci.hpp.

Member Enumeration Documentation

◆ EAtEnd

enum CAnnotTypes_CI::EAtEnd
protected
Enumerator
at_end 

Definition at line 138 of file annot_types_ci.hpp.

Constructor & Destructor Documentation

◆ CAnnotTypes_CI() [1/8]

CAnnotTypes_CI::CAnnotTypes_CI ( void  )

Definition at line 53 of file annot_types_ci.cpp.

◆ CAnnotTypes_CI() [2/8]

CAnnotTypes_CI::CAnnotTypes_CI ( CScope scope)
explicit

Definition at line 60 of file annot_types_ci.cpp.

◆ CAnnotTypes_CI() [3/8]

CAnnotTypes_CI::CAnnotTypes_CI ( TAnnotType  type,
const CBioseq_Handle bioseq,
const CRange< TSeqPos > &  range,
ENa_strand  strand,
const SAnnotSelector params = 0 
)

◆ CAnnotTypes_CI() [4/8]

CAnnotTypes_CI::CAnnotTypes_CI ( TAnnotType  type,
CScope scope,
const CSeq_loc loc,
const SAnnotSelector params = 0 
)

◆ CAnnotTypes_CI() [5/8]

CAnnotTypes_CI::CAnnotTypes_CI ( TAnnotType  type,
const CSeq_annot_Handle annot,
const SAnnotSelector params = 0 
)

◆ CAnnotTypes_CI() [6/8]

CAnnotTypes_CI::CAnnotTypes_CI ( TAnnotType  type,
const CSeq_loc loc,
const CSeq_annot_Handle annot,
const SAnnotSelector params = 0 
)

◆ CAnnotTypes_CI() [7/8]

CAnnotTypes_CI::CAnnotTypes_CI ( TAnnotType  type,
const CSeq_entry_Handle entry,
const SAnnotSelector params = 0 
)

◆ ~CAnnotTypes_CI()

CAnnotTypes_CI::~CAnnotTypes_CI ( void  )
virtual

Definition at line 224 of file annot_types_ci.cpp.

◆ CAnnotTypes_CI() [8/8]

CAnnotTypes_CI::CAnnotTypes_CI ( const CAnnotTypes_CI src,
EAtEnd   
)
inlineprotected

Definition at line 141 of file annot_types_ci.hpp.

Member Function Documentation

◆ Get()

const CAnnotObject_Ref & CAnnotTypes_CI::Get ( void  ) const
inlineprotected

◆ GetAnnot()

CSeq_annot_Handle CAnnotTypes_CI::GetAnnot ( void  ) const

◆ GetAnnotNames()

const CAnnotTypes_CI::TAnnotNames & CAnnotTypes_CI::GetAnnotNames ( void  ) const

◆ GetAnnotTypes()

const CAnnotTypes_CI::TAnnotTypes & CAnnotTypes_CI::GetAnnotTypes ( void  ) const

Definition at line 230 of file annot_types_ci.cpp.

References m_DataCollector, and CAnnot_Collector::x_GetAnnotTypes().

Referenced by CDemoApp::Run().

◆ GetCollector()

CAnnot_Collector & CAnnotTypes_CI::GetCollector ( void  )
inlineprotected

Definition at line 212 of file annot_types_ci.hpp.

References _ASSERT, and m_DataCollector.

Referenced by CFeat_CI::Update(), CFeat_CI::x_AddFeatures(), and CGraph_CI::x_Update().

◆ GetCostOfLoadingInBytes()

Uint8 CAnnotTypes_CI::GetCostOfLoadingInBytes ( void  ) const
inline

Get collected cost of loading requested data in bytes.

See also
SAnnotSelector::SetCollectCostOfLoading()

Definition at line 249 of file annot_types_ci.hpp.

References m_DataCollector, and CAnnot_Collector::x_GetCostOfLoadingInBytes().

Referenced by CDemoApp::Run().

◆ GetCostOfLoadingInSeconds()

double CAnnotTypes_CI::GetCostOfLoadingInSeconds ( void  ) const
inline

Get collected cost of loading requested data in seconds.

See also
SAnnotSelector::SetCollectCostOfLoading()

Definition at line 256 of file annot_types_ci.hpp.

References m_DataCollector, and CAnnot_Collector::x_GetCostOfLoadingInSeconds().

Referenced by CSGAlignmentDS::GetAlignmentCost(), CSGAlignmentDS::GetGraphCost(), and CDemoApp::Run().

◆ GetIterator()

const CAnnotTypes_CI::TIterator & CAnnotTypes_CI::GetIterator ( void  ) const
inlineprotected

◆ GetScope()

CScope & CAnnotTypes_CI::GetScope ( void  ) const
inlineprotected

Definition at line 241 of file annot_types_ci.hpp.

References _ASSERT, CAnnot_Collector::GetScope(), and m_DataCollector.

◆ GetSeq_annot_Handle()

const CSeq_annot_Handle & CAnnotTypes_CI::GetSeq_annot_Handle ( void  ) const
inline

Definition at line 228 of file annot_types_ci.hpp.

References Get(), and CAnnotObject_Ref::GetSeq_annot_Handle().

◆ GetSize()

size_t CAnnotTypes_CI::GetSize ( void  ) const
inline

◆ IsValid()

bool CAnnotTypes_CI::IsValid ( void  ) const
inlineprotected

◆ MaxSearchSegmentsLimitIsReached()

bool CAnnotTypes_CI::MaxSearchSegmentsLimitIsReached ( void  ) const

◆ Next()

void CAnnotTypes_CI::Next ( void  )
inlineprotected

◆ operator!=()

bool CAnnotTypes_CI::operator!= ( const CAnnotTypes_CI it) const
inlineprotected

◆ Prev()

void CAnnotTypes_CI::Prev ( void  )
inlineprotected

◆ Rewind()

void CAnnotTypes_CI::Rewind ( void  )
inline

◆ x_GetAnnotSet()

const CAnnotTypes_CI::TAnnotSet & CAnnotTypes_CI::x_GetAnnotSet ( void  ) const
inlineprivate

Definition at line 168 of file annot_types_ci.hpp.

References _ASSERT, CAnnot_Collector::GetAnnotSet(), and m_DataCollector.

Referenced by GetSize(), IsValid(), and Rewind().

◆ x_Init()

void CAnnotTypes_CI::x_Init ( CScope scope,
const CSeq_loc loc,
const SAnnotSelector params 
)
private

Friends And Related Function Documentation

◆ CAnnot_CI

friend class CAnnot_CI
friend

Definition at line 120 of file annot_types_ci.hpp.

◆ CTableFieldHandle_Base

friend class CTableFieldHandle_Base
friend

Definition at line 121 of file annot_types_ci.hpp.

Member Data Documentation

◆ m_CurrAnnot

TIterator CAnnotTypes_CI::m_CurrAnnot
private

Definition at line 158 of file annot_types_ci.hpp.

Referenced by Get(), GetIterator(), IsValid(), Next(), operator!=(), Prev(), and Rewind().

◆ m_DataCollector

CRef<CAnnot_Collector> CAnnotTypes_CI::m_DataCollector
private

The documentation for this class was generated from the following files:
Modified on Sat Apr 13 11:48:25 2024 by modify_doxy.py rev. 669887