NCBI C++ ToolKit
Functions | Variables
osg_getblob_base.cpp File Reference
#include <ncbi_pch.hpp>
#include "osg_getblob_base.hpp"
#include <objects/id2/id2__.hpp>
#include <objects/seqsplit/seqsplit__.hpp>
#include <objtools/pubseq_gateway/impl/cassandra/bioseq_info/record.hpp>
#include "pubseq_gateway.hpp"
#include "pubseq_gateway_convert_utils.hpp"
#include "pubseq_gateway_logging.hpp"
#include "id2info.hpp"
+ Include dependency graph for osg_getblob_base.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Functions

 BEGIN_NAMESPACE (psg)
 
 BEGIN_NAMESPACE (osg)
 
static bool x_Forbidden (CPSGS_OSGGetBlobBase::TID2BlobState blob_state)
 
static bool s_IsEnabledOSGSat (CPSGS_OSGProcessorBase::TEnabledFlags enabled_flags, Int4 sat)
 
static bool s_IsEnabledCDDSat (CPSGS_OSGProcessorBase::TEnabledFlags enabled_flags, Int4 sat)
 
static bool s_IsOSGSat (Int4 sat)
 
static bool s_IsCDDSat (Int4 sat)
 
static bool s_IsOSGBlob (Int4 sat, Int4, Int4)
 
static bool s_IsEnabledOSGBlob (CPSGS_OSGProcessorBase::TEnabledFlags enabled_flags, Int4 sat, Int4, Int4)
 
static bool s_IsCDDBlob (Int4 sat, Int4, Int4)
 
static bool s_Skip (CTempString &str, char c)
 
static bool s_IsValidIntChar (char c)
 
template<class Int >
static bool s_ParseInt (CTempString &str, Int &v)
 
static bool s_ParseOSGBlob (CTempString &s, Int4 &sat, Int4 &subsat, Int4 &satkey)
 
static void s_FormatBlobId (ostream &s, const CID2_Blob_Id &blob_id)
 
 END_NAMESPACE (osg)
 
 END_NAMESPACE (psg)
 

Variables

 BEGIN_NCBI_NAMESPACE
 
static const char kSubSatSeparator = '/'
 
static const int kOSG_Sat_WGS_min = 1000
 
static const int kOSG_Sat_WGS_max = 1130
 
static const int kOSG_Sat_SNP_min = 2001
 
static const int kOSG_Sat_SNP_max = 3999
 
static const int kOSG_Sat_CDD_min = 8087
 
static const int kOSG_Sat_CDD_max = 8088
 
 END_NCBI_NAMESPACE
 

Function Documentation

◆ BEGIN_NAMESPACE() [1/2]

BEGIN_NAMESPACE ( osg  )

◆ BEGIN_NAMESPACE() [2/2]

BEGIN_NAMESPACE ( psg  )

◆ END_NAMESPACE() [1/2]

END_NAMESPACE ( osg  )

◆ END_NAMESPACE() [2/2]

END_NAMESPACE ( psg  )

◆ s_FormatBlobId()

static void s_FormatBlobId ( ostream &  s,
const CID2_Blob_Id blob_id 
)
static

◆ s_IsCDDBlob()

static bool s_IsCDDBlob ( Int4  sat,
Int4  ,
Int4   
)
static

Definition at line 524 of file osg_getblob_base.cpp.

References s_IsCDDSat().

Referenced by CPSGS_OSGGetBlobBase::IsCDDBlob().

◆ s_IsCDDSat()

static bool s_IsCDDSat ( Int4  sat)
static

Definition at line 505 of file osg_getblob_base.cpp.

References CPSGS_OSGProcessorBase::fEnabledCDD, and s_IsEnabledCDDSat().

Referenced by s_IsCDDBlob().

◆ s_IsEnabledCDDSat()

static bool s_IsEnabledCDDSat ( CPSGS_OSGProcessorBase::TEnabledFlags  enabled_flags,
Int4  sat 
)
inlinestatic

Definition at line 488 of file osg_getblob_base.cpp.

References CPSGS_OSGProcessorBase::fEnabledCDD, kOSG_Sat_CDD_max, and kOSG_Sat_CDD_min.

Referenced by s_IsCDDSat().

◆ s_IsEnabledOSGBlob()

static bool s_IsEnabledOSGBlob ( CPSGS_OSGProcessorBase::TEnabledFlags  enabled_flags,
Int4  sat,
Int4  ,
Int4   
)
static

Definition at line 517 of file osg_getblob_base.cpp.

References s_IsEnabledOSGSat().

Referenced by CPSGS_OSGGetBlobBase::IsEnabledOSGBlob().

◆ s_IsEnabledOSGSat()

static bool s_IsEnabledOSGSat ( CPSGS_OSGProcessorBase::TEnabledFlags  enabled_flags,
Int4  sat 
)
inlinestatic

◆ s_IsOSGBlob()

static bool s_IsOSGBlob ( Int4  sat,
Int4  ,
Int4   
)
static

Definition at line 511 of file osg_getblob_base.cpp.

References s_IsOSGSat().

Referenced by CPSGS_OSGGetBlobBase::IsOSGBlob(), and s_ParseOSGBlob().

◆ s_IsOSGSat()

static bool s_IsOSGSat ( Int4  sat)
static

Definition at line 499 of file osg_getblob_base.cpp.

References CPSGS_OSGProcessorBase::fEnabledAll, and s_IsEnabledOSGSat().

Referenced by s_IsOSGBlob(), and s_ParseOSGBlob().

◆ s_IsValidIntChar()

static bool s_IsValidIntChar ( char  c)
inlinestatic

Definition at line 552 of file osg_getblob_base.cpp.

Referenced by s_ParseInt().

◆ s_ParseInt()

template<class Int >
static bool s_ParseInt ( CTempString str,
Int &  v 
)
static

◆ s_ParseOSGBlob()

static bool s_ParseOSGBlob ( CTempString s,
Int4 sat,
Int4 subsat,
Int4 satkey 
)
static

◆ s_Skip()

static bool s_Skip ( CTempString str,
char  c 
)
static

Definition at line 542 of file osg_getblob_base.cpp.

References str().

Referenced by CPSGS_OSGGetBlobBase::ParsePSGId2Info(), and s_ParseOSGBlob().

◆ x_Forbidden()

static bool x_Forbidden ( CPSGS_OSGGetBlobBase::TID2BlobState  blob_state)
static

Variable Documentation

◆ BEGIN_NCBI_NAMESPACE

BEGIN_NCBI_NAMESPACE

Definition at line 44 of file osg_getblob_base.cpp.

◆ END_NCBI_NAMESPACE

END_NCBI_NAMESPACE

Definition at line 687 of file osg_getblob_base.cpp.

◆ kOSG_Sat_CDD_max

const int kOSG_Sat_CDD_max = 8088
static

Definition at line 455 of file osg_getblob_base.cpp.

Referenced by s_IsEnabledCDDSat(), and s_IsEnabledOSGSat().

◆ kOSG_Sat_CDD_min

const int kOSG_Sat_CDD_min = 8087
static

Definition at line 454 of file osg_getblob_base.cpp.

Referenced by s_IsEnabledCDDSat(), and s_IsEnabledOSGSat().

◆ kOSG_Sat_SNP_max

const int kOSG_Sat_SNP_max = 3999
static

Definition at line 453 of file osg_getblob_base.cpp.

Referenced by s_IsEnabledOSGSat().

◆ kOSG_Sat_SNP_min

const int kOSG_Sat_SNP_min = 2001
static

Definition at line 452 of file osg_getblob_base.cpp.

Referenced by s_IsEnabledOSGSat().

◆ kOSG_Sat_WGS_max

const int kOSG_Sat_WGS_max = 1130
static

Definition at line 451 of file osg_getblob_base.cpp.

Referenced by s_IsEnabledOSGSat().

◆ kOSG_Sat_WGS_min

const int kOSG_Sat_WGS_min = 1000
static

Definition at line 450 of file osg_getblob_base.cpp.

Referenced by s_IsEnabledOSGSat().

◆ kSubSatSeparator

const char kSubSatSeparator = '/'
static

Definition at line 449 of file osg_getblob_base.cpp.

Referenced by s_FormatBlobId(), and s_ParseOSGBlob().

Modified on Sat Feb 24 07:46:18 2024 by modify_doxy.py rev. 669887