NCBI C++ ToolKit
Classes | Functions | Variables
split_info_utils.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/rwstream.hpp>
#include <serial/objistr.hpp>
#include <serial/serial.hpp>
#include <util/compress/compress.hpp>
#include <util/compress/stream.hpp>
#include <util/compress/zlib.hpp>
#include <objects/seqloc/Seq_id.hpp>
#include <objects/seqsplit/seqsplit__.hpp>
#include <objtools/pubseq_gateway/impl/cassandra/bioseq_info/record.hpp>
#include <strstream>
#include "split_info_utils.hpp"
+ Include dependency graph for split_info_utils.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CDataChunkReader
 

Functions

 BEGIN_NAMESPACE (psg)
 
vector< intGetBioseqChunks (const CSeq_id &seq_id, const CBlobRecord &blob, const unsigned char *data, unsigned int size, int chunk_no)
 
static bool s_Matches (const CSeq_id &seq_id, const CID2S_Bioseq_Ids::C_E &id)
 
static bool s_ContainsBioseq (const CSeq_id &seq_id, const CID2S_Chunk_Info &chunk)
 
vector< intGetBioseqChunks (const CSeq_id &seq_id, const CID2S_Split_Info &split_info)
 
 END_NAMESPACE (psg)
 

Variables

 BEGIN_NCBI_NAMESPACE
 
 BEGIN_LOCAL_NAMESPACE
 
 END_LOCAL_NAMESPACE
 
 END_NCBI_NAMESPACE
 

Function Documentation

◆ BEGIN_NAMESPACE()

BEGIN_NAMESPACE ( psg  )

◆ END_NAMESPACE()

END_NAMESPACE ( psg  )

◆ GetBioseqChunks() [1/2]

vector<int> GetBioseqChunks ( const CSeq_id seq_id,
const CBlobRecord blob,
const unsigned char *  data,
unsigned int  size,
int  chunk_no 
)

◆ GetBioseqChunks() [2/2]

vector<int> GetBioseqChunks ( const CSeq_id seq_id,
const CID2S_Split_Info split_info 
)

Definition at line 228 of file split_info_utils.cpp.

References CID2S_Split_Info_Base::GetChunks(), and s_ContainsBioseq().

◆ s_ContainsBioseq()

static bool s_ContainsBioseq ( const CSeq_id seq_id,
const CID2S_Chunk_Info chunk 
)
static

Definition at line 210 of file split_info_utils.cpp.

References CID2S_Chunk_Info_Base::GetContent(), and s_Matches().

Referenced by GetBioseqChunks().

◆ s_Matches()

static bool s_Matches ( const CSeq_id seq_id,
const CID2S_Bioseq_Ids::C_E id 
)
static

Variable Documentation

◆ BEGIN_LOCAL_NAMESPACE

BEGIN_LOCAL_NAMESPACE

Definition at line 72 of file split_info_utils.cpp.

◆ BEGIN_NCBI_NAMESPACE

BEGIN_NCBI_NAMESPACE

Definition at line 49 of file split_info_utils.cpp.

◆ END_LOCAL_NAMESPACE

END_LOCAL_NAMESPACE

Definition at line 147 of file split_info_utils.cpp.

◆ END_NCBI_NAMESPACE

END_NCBI_NAMESPACE

Definition at line 259 of file split_info_utils.cpp.

Modified on Wed Jul 24 17:18:45 2024 by modify_doxy.py rev. 669887