NCBI C++ ToolKit
Classes | Functions
asn_index.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <objtools/data_loaders/asn_cache/asn_cache_export.h>
#include <db/bdb/bdb_file.hpp>
+ Include dependency graph for asn_index.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CAsnIndex
 This is a simple BDB structure holding information about a given accession and its indexed location. More...
 
struct  CAsnIndex::SIndexInfo
 

Functions

size_t IndexABioseq (const objects::CBioseq &bioseq, CAsnIndex &index, CAsnIndex::TTimestamp timestamp, CAsnIndex::TChunkId chunk_id, CAsnIndex::TOffset offset, CAsnIndex::TSize size)
 
void BioseqIndexData (const objects::CBioseq &bioseq, CAsnIndex::TGi &gi, CAsnIndex::TSeqLength &seq_length, CAsnIndex::TTaxId &taxid)
 

Function Documentation

◆ BioseqIndexData()

void BioseqIndexData ( const objects::CBioseq &  bioseq,
CAsnIndex::TGi gi,
CAsnIndex::TSeqLength seq_length,
CAsnIndex::TTaxId taxid 
)

Definition at line 240 of file asn_index.cpp.

References GI_TO, ITERATE, TAX_ID_TO, and ZERO_TAX_ID.

Referenced by IndexABioseq(), and SBlobInserter::operator()().

◆ IndexABioseq()

size_t IndexABioseq ( const objects::CBioseq &  bioseq,
CAsnIndex index,
CAsnIndex::TTimestamp  timestamp,
CAsnIndex::TChunkId  chunk_id,
CAsnIndex::TOffset  offset,
CAsnIndex::TSize  size 
)
Modified on Wed Sep 04 15:00:52 2024 by modify_doxy.py rev. 669887