NCBI C++ ToolKit
Functions
cached_sequence.cpp File Reference

Defines the CCachedSequence class. More...

#include <ncbi_pch.hpp>
#include "cached_sequence.hpp"
#include <objects/seq/Seq_inst.hpp>
#include <objects/seq/Delta_seq.hpp>
#include <objects/seq/Delta_ext.hpp>
#include <objects/seq/Seq_ext.hpp>
#include <objects/seq/Seq_literal.hpp>
#include <objmgr/impl/tse_chunk_info.hpp>
+ Include dependency graph for cached_sequence.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

static CBioseq::TId s_ExtractSeqIds (const CBioseq &bioseq)
 
CRef< CSeq_literalCreateSeqDataChunk (IBlastDbAdapter &blastdb, int oid, TSeqPos begin, TSeqPos end)
 Creates a chunk that corresponds to a given OID and its beginning and ending offsets. More...
 

Detailed Description

Defines the CCachedSequence class.

Definition in file cached_sequence.cpp.

Function Documentation

◆ CreateSeqDataChunk()

CRef<CSeq_literal> CreateSeqDataChunk ( IBlastDbAdapter blastdb,
int  oid,
TSeqPos  begin,
TSeqPos  end 
)

Creates a chunk that corresponds to a given OID and its beginning and ending offsets.

Parameters
blastdbBLAST database interface [in]
oidOID for the sequence of interest in the blastdb [in]
beginstarting offset of the sequence of interest [in]
endending offset of the sequence of interest [in]

Definition at line 180 of file cached_sequence.cpp.

References IBlastDbAdapter::GetSequence(), CSeq_literal_Base::SetLength(), and CSeq_literal_Base::SetSeq_data().

Referenced by CBlastDbDataLoader::GetChunk().

◆ s_ExtractSeqIds()

static CBioseq::TId s_ExtractSeqIds ( const CBioseq bioseq)
static
Modified on Wed Apr 17 13:09:21 2024 by modify_doxy.py rev. 669887