NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Types | List of all members
CLoadLockHash Class Reference

Search Toolkit Book for CLoadLockHash

#include <objtools/data_loaders/genbank/impl/request_result.hpp>

+ Inheritance diagram for CLoadLockHash:
+ Collaboration diagram for CLoadLockHash:

Public Member Functions

 CLoadLockHash (void)
 
 CLoadLockHash (CReaderRequestResult &result, const CSeq_id_Handle &id)
 
bool IsFound (void) const
 
GBL::EExpirationType GetExpType (void) const
 
bool IsLoadedHash (void) const
 
TData GetHash (void) const
 
bool SetLoadedHash (const TData &data)
 
bool SetLoadedHash (const TData &data, TExpirationTime expiration_time)
 

Static Public Member Functions

static int GetHash (const TData &data)
 
static bool IsFound (const TData &data)
 
static GBL::EExpirationType GetExpType (const TData &data)
 

Private Types

typedef CGBInfoManager::TCacheHash::TInfoLock TParent
 

Detailed Description

Definition at line 595 of file request_result.hpp.

Member Typedef Documentation

◆ TParent

typedef CGBInfoManager::TCacheHash::TInfoLock CLoadLockHash::TParent
private

Definition at line 598 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockHash() [1/2]

CLoadLockHash::CLoadLockHash ( void  )
inline

Definition at line 600 of file request_result.hpp.

◆ CLoadLockHash() [2/2]

CLoadLockHash::CLoadLockHash ( CReaderRequestResult result,
const CSeq_id_Handle id 
)

Definition at line 1042 of file request_result.cpp.

Member Function Documentation

◆ GetExpType() [1/2]

static GBL::EExpirationType CLoadLockHash::GetExpType ( const TData &  data)
inlinestatic

Definition at line 617 of file request_result.hpp.

References data, eExpire_fast, eExpire_normal, and IsFound().

Referenced by CCacheWriter::SaveSequenceHash().

◆ GetExpType() [2/2]

GBL::EExpirationType CLoadLockHash::GetExpType ( void  ) const
inline

Definition at line 621 of file request_result.hpp.

Referenced by CReaderRequestResult::SetLoadedHash(), and SetLoadedHash().

◆ GetHash() [1/2]

static int CLoadLockHash::GetHash ( const TData &  data)
inlinestatic

◆ GetHash() [2/2]

TData CLoadLockHash::GetHash ( void  ) const
inline

Definition at line 630 of file request_result.hpp.

◆ IsFound() [1/2]

static bool CLoadLockHash::IsFound ( const TData &  data)
inlinestatic

Definition at line 609 of file request_result.hpp.

References data.

◆ IsFound() [2/2]

bool CLoadLockHash::IsFound ( void  ) const
inline

Definition at line 613 of file request_result.hpp.

Referenced by GetExpType().

◆ IsLoadedHash()

bool CLoadLockHash::IsLoadedHash ( void  ) const
inline

◆ SetLoadedHash() [1/2]

bool CLoadLockHash::SetLoadedHash ( const TData &  data)
inline

Definition at line 634 of file request_result.hpp.

References data, and GetExpType().

Referenced by CCacheReader::LoadSequenceHash().

◆ SetLoadedHash() [2/2]

bool CLoadLockHash::SetLoadedHash ( const TData &  data,
TExpirationTime  expiration_time 
)
inline

Definition at line 638 of file request_result.hpp.

References data.


The documentation for this class was generated from the following files:
Modified on Wed May 15 15:09:05 2024 by modify_doxy.py rev. 669887