NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CPSGCache Class Reference

Search Toolkit Book for CPSGCache

#include "pubseq_gateway_cache_utils.hpp"
(Private to src/app/pubseq_gateway/server.)

+ Collaboration diagram for CPSGCache:

Public Member Functions

 CPSGCache (shared_ptr< CPSGS_Request > request, shared_ptr< CPSGS_Reply > reply)
 
 CPSGCache (bool allowed, shared_ptr< CPSGS_Request > request, shared_ptr< CPSGS_Reply > reply)
 
bool IsAllowed (void) const
 
EPSGS_CacheLookupResult LookupBioseqInfo (IPSGS_Processor *processor, SBioseqResolution &bioseq_resolution)
 
EPSGS_CacheLookupResult LookupSi2csi (IPSGS_Processor *processor, SBioseqResolution &bioseq_resolution)
 
EPSGS_CacheLookupResult LookupBlobProp (IPSGS_Processor *processor, int sat, int sat_key, int64_t &last_modified, CBlobRecord &blob_record)
 

Private Member Functions

EPSGS_CacheLookupResult x_LookupBioseqInfo (IPSGS_Processor *processor, SBioseqResolution &bioseq_resolution)
 
EPSGS_CacheLookupResult x_LookupINSDCBioseqInfo (IPSGS_Processor *processor, SBioseqResolution &bioseq_resolution)
 
EPSGS_CacheLookupResult x_LookupSi2csi (IPSGS_Processor *processor, SBioseqResolution &bioseq_resolution)
 
EPSGS_CacheLookupResult x_LookupBlobProp (IPSGS_Processor *processor, int sat, int sat_key, int64_t &last_modified, CBlobRecord &blob_record)
 

Private Attributes

bool m_Allowed
 
bool m_NeedTrace
 
shared_ptr< CPSGS_Requestm_Request
 
shared_ptr< CPSGS_Replym_Reply
 

Detailed Description

Definition at line 49 of file pubseq_gateway_cache_utils.hpp.

Constructor & Destructor Documentation

◆ CPSGCache() [1/2]

CPSGCache::CPSGCache ( shared_ptr< CPSGS_Request request,
shared_ptr< CPSGS_Reply reply 
)
inline

◆ CPSGCache() [2/2]

CPSGCache::CPSGCache ( bool  allowed,
shared_ptr< CPSGS_Request request,
shared_ptr< CPSGS_Reply reply 
)
inline

Definition at line 95 of file pubseq_gateway_cache_utils.hpp.

Member Function Documentation

◆ IsAllowed()

bool CPSGCache::IsAllowed ( void  ) const
inline

◆ LookupBioseqInfo()

EPSGS_CacheLookupResult CPSGCache::LookupBioseqInfo ( IPSGS_Processor processor,
SBioseqResolution bioseq_resolution 
)
inline

◆ LookupBlobProp()

EPSGS_CacheLookupResult CPSGCache::LookupBlobProp ( IPSGS_Processor processor,
int  sat,
int  sat_key,
int64_t last_modified,
CBlobRecord blob_record 
)
inline

◆ LookupSi2csi()

EPSGS_CacheLookupResult CPSGCache::LookupSi2csi ( IPSGS_Processor processor,
SBioseqResolution bioseq_resolution 
)
inline

◆ x_LookupBioseqInfo()

EPSGS_CacheLookupResult CPSGCache::x_LookupBioseqInfo ( IPSGS_Processor processor,
SBioseqResolution bioseq_resolution 
)
private

◆ x_LookupBlobProp()

EPSGS_CacheLookupResult CPSGCache::x_LookupBlobProp ( IPSGS_Processor processor,
int  sat,
int  sat_key,
int64_t last_modified,
CBlobRecord blob_record 
)
private

◆ x_LookupINSDCBioseqInfo()

EPSGS_CacheLookupResult CPSGCache::x_LookupINSDCBioseqInfo ( IPSGS_Processor processor,
SBioseqResolution bioseq_resolution 
)
private

◆ x_LookupSi2csi()

EPSGS_CacheLookupResult CPSGCache::x_LookupSi2csi ( IPSGS_Processor processor,
SBioseqResolution bioseq_resolution 
)
private

Member Data Documentation

◆ m_Allowed

bool CPSGCache::m_Allowed
private

Definition at line 156 of file pubseq_gateway_cache_utils.hpp.

◆ m_NeedTrace

bool CPSGCache::m_NeedTrace
private

◆ m_Reply

shared_ptr<CPSGS_Reply> CPSGCache::m_Reply
private

◆ m_Request

shared_ptr<CPSGS_Request> CPSGCache::m_Request
private

The documentation for this class was generated from the following files:
Modified on Thu May 23 12:32:49 2024 by modify_doxy.py rev. 669887