NCBI C++ ToolKit
Functions | Variables
psg_cdd.cpp File Reference
#include <ncbi_pch.hpp>
#include <objtools/data_loaders/genbank/impl/psg_cdd.hpp>
#include <objtools/data_loaders/genbank/psg_loader.hpp>
#include <objmgr/impl/data_source.hpp>
#include <objmgr/impl/tse_split_info.hpp>
#include <objmgr/impl/tse_chunk_info.hpp>
#include <objmgr/impl/tse_loadlock.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 dependency graph for psg_cdd.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 BEGIN_NAMESPACE (objects)
 
 BEGIN_NAMESPACE (psgl)
 
 NCBI_PARAM_DECL (unsigned, PSG_LOADER, DEBUG)
 
 NCBI_PARAM_DEF_EX (unsigned, PSG_LOADER, DEBUG, 1, eParam_NoThread, PSG_LOADER_DEBUG)
 
typedef NCBI_PARAM_TYPE (PSG_LOADER, DEBUG) TPSG_Debug
 
unsigned s_GetDebugLevel ()
 
CSeq_id_Handle PsgIdToHandle (const CPSG_BioId &id)
 
void UpdateOMBlobId (CTSE_LoadLock &load_lock, const CConstRef< CPsgBlobId > &dl_blob_id)
 
CObjectIStreamGetBlobDataStream (const CPSG_BlobInfo &blob_info, const CPSG_BlobData &blob_data)
 
SCDDIds x_GetCDDIds (const CDataLoader::TIds &ids)
 
string x_MakeLocalCDDEntryId (const SCDDIds &cdd_ids)
 
bool x_IsLocalCDDEntryId (const CPsgBlobId &blob_id)
 
SCDDIds x_ParseLocalCDDEntryId (const CPsgBlobId &blob_id)
 
bool x_ParseLocalCDDEntryId (const CPsgBlobId &blob_id, SCDDIds &cdd_ids)
 
CPSG_BioId x_LocalCDDEntryIdToBioId (const SCDDIds &cdd_ids)
 
CPSG_BioId x_LocalCDDEntryIdToBioId (const CPsgBlobId &blob_id)
 
CRef< CTSE_Chunk_Infox_CreateLocalCDDEntryChunk (const SCDDIds &cdd_ids)
 
CTSE_Lock x_CreateLocalCDDEntry (CDataSource *data_source, const SCDDIds &cdd_ids)
 
void x_CreateEmptyLocalCDDEntry (CDataSource *data_source, CTSE_Chunk_Info *chunk)
 
bool x_IsEmptyCDD (const CTSE_Info &tse)
 
 END_NAMESPACE (psgl)
 
 END_NAMESPACE (objects)
 

Variables

 BEGIN_NCBI_NAMESPACE
 
bool s_GetBlobByIdShouldFail = false
 
 END_NCBI_NAMESPACE
 

Function Documentation

◆ BEGIN_NAMESPACE() [1/2]

BEGIN_NAMESPACE ( objects  )

◆ BEGIN_NAMESPACE() [2/2]

BEGIN_NAMESPACE ( psgl  )

◆ END_NAMESPACE() [1/2]

END_NAMESPACE ( objects  )

◆ END_NAMESPACE() [2/2]

END_NAMESPACE ( psgl  )

◆ GetBlobDataStream()

CObjectIStream* GetBlobDataStream ( const CPSG_BlobInfo blob_info,
const CPSG_BlobData blob_data 
)

◆ NCBI_PARAM_DECL()

NCBI_PARAM_DECL ( unsigned  ,
PSG_LOADER  ,
DEBUG   
)

◆ NCBI_PARAM_DEF_EX()

NCBI_PARAM_DEF_EX ( unsigned  ,
PSG_LOADER  ,
DEBUG  ,
,
eParam_NoThread  ,
PSG_LOADER_DEBUG   
)

◆ NCBI_PARAM_TYPE()

typedef NCBI_PARAM_TYPE ( PSG_LOADER  ,
DEBUG   
)

◆ PsgIdToHandle()

CSeq_id_Handle PsgIdToHandle ( const CPSG_BioId id)

Definition at line 73 of file psg_cdd.cpp.

References ERR_POST, and CSeq_id_Handle::GetHandle().

Referenced by SPsgBioseqInfo::Update().

◆ s_GetDebugLevel()

unsigned s_GetDebugLevel ( void  )

◆ UpdateOMBlobId()

void UpdateOMBlobId ( CTSE_LoadLock load_lock,
const CConstRef< CPsgBlobId > &  dl_blob_id 
)

◆ x_CreateEmptyLocalCDDEntry()

void x_CreateEmptyLocalCDDEntry ( CDataSource data_source,
CTSE_Chunk_Info chunk 
)

◆ x_CreateLocalCDDEntry()

CTSE_Lock x_CreateLocalCDDEntry ( CDataSource data_source,
const SCDDIds cdd_ids 
)

◆ x_CreateLocalCDDEntryChunk()

CRef<CTSE_Chunk_Info> x_CreateLocalCDDEntryChunk ( const SCDDIds cdd_ids)

◆ x_GetCDDIds()

SCDDIds x_GetCDDIds ( const CDataLoader::TIds ids)

◆ x_IsEmptyCDD()

bool x_IsEmptyCDD ( const CTSE_Info tse)

◆ x_IsLocalCDDEntryId()

bool x_IsLocalCDDEntryId ( const CPsgBlobId blob_id)

◆ x_LocalCDDEntryIdToBioId() [1/2]

CPSG_BioId x_LocalCDDEntryIdToBioId ( const CPsgBlobId blob_id)

◆ x_LocalCDDEntryIdToBioId() [2/2]

CPSG_BioId x_LocalCDDEntryIdToBioId ( const SCDDIds cdd_ids)

◆ x_MakeLocalCDDEntryId()

string x_MakeLocalCDDEntryId ( const SCDDIds cdd_ids)

◆ x_ParseLocalCDDEntryId() [1/2]

SCDDIds x_ParseLocalCDDEntryId ( const CPsgBlobId blob_id)

◆ x_ParseLocalCDDEntryId() [2/2]

bool x_ParseLocalCDDEntryId ( const CPsgBlobId blob_id,
SCDDIds cdd_ids 
)

Definition at line 248 of file psg_cdd.cpp.

References x_ParseLocalCDDEntryId().

Variable Documentation

◆ BEGIN_NCBI_NAMESPACE

BEGIN_NCBI_NAMESPACE

Definition at line 48 of file psg_cdd.cpp.

◆ END_NCBI_NAMESPACE

END_NCBI_NAMESPACE

Definition at line 361 of file psg_cdd.cpp.

◆ s_GetBlobByIdShouldFail

bool s_GetBlobByIdShouldFail = false
Modified on Fri Sep 20 14:58:29 2024 by modify_doxy.py rev. 669887