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

Search Toolkit Book for CDRefresher

#include <algo/structure/cd_utils/cuCdUpdater.hpp>

+ Collaboration diagram for CDRefresher:

Public Member Functions

 CDRefresher (CCdCore *cd)
 
TGi refresh (CRef< CSeq_align > seqAlign, CRef< CSeq_entry > seqEntry)
 
bool hasOlderVersion (CRef< CBioseq > bioseq)
 

Private Types

typedef map< string, CRef< CBioseq > > AccessionBioseqMap
 

Private Member Functions

void addSequences (CSeq_entry &seqEntry)
 
void addSequence (CRef< CBioseq > bioseq)
 

Private Attributes

CCdCorem_cd
 
AccessionBioseqMap m_accSeqMap
 

Detailed Description

Definition at line 54 of file cuCdUpdater.hpp.

Member Typedef Documentation

◆ AccessionBioseqMap

Definition at line 65 of file cuCdUpdater.hpp.

Constructor & Destructor Documentation

◆ CDRefresher()

CDRefresher::CDRefresher ( CCdCore cd)

Definition at line 1672 of file cuCdUpdater.cpp.

References addSequences(), and CCdd_Base::SetSequences().

Member Function Documentation

◆ addSequence()

void CDRefresher::addSequence ( CRef< CBioseq bioseq)
private

Definition at line 1694 of file cuCdUpdater.cpp.

References GetAccAndVersion(), map_checker< Container >::insert(), and m_accSeqMap.

Referenced by addSequences().

◆ addSequences()

void CDRefresher::addSequences ( CSeq_entry seqEntry)
private

◆ hasOlderVersion()

bool CDRefresher::hasOlderVersion ( CRef< CBioseq bioseq)

◆ refresh()

TGi CDRefresher::refresh ( CRef< CSeq_align seqAlign,
CRef< CSeq_entry seqEntry 
)

Member Data Documentation

◆ m_accSeqMap

AccessionBioseqMap CDRefresher::m_accSeqMap
private

Definition at line 66 of file cuCdUpdater.hpp.

Referenced by addSequence(), hasOlderVersion(), and refresh().

◆ m_cd

CCdCore* CDRefresher::m_cd
private

Definition at line 64 of file cuCdUpdater.hpp.

Referenced by refresh().


The documentation for this class was generated from the following files:
Modified on Mon Apr 22 04:01:53 2024 by modify_doxy.py rev. 669887