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

Search Toolkit Book for CLoadLockAcc

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

+ Inheritance diagram for CLoadLockAcc:
+ Collaboration diagram for CLoadLockAcc:

Public Member Functions

 CLoadLockAcc (void)
 
 CLoadLockAcc (CReaderRequestResult &result, const CSeq_id_Handle &id)
 
bool IsFound (void) const
 
GBL::EExpirationType GetExpType (void) const
 
bool IsLoadedAccVer (void) const
 
TExpirationTime GetExpirationTimeAcc (void) const
 
TData GetAccVer (void) const
 
bool SetLoadedAccVer (const TData &data)
 
bool SetLoadedAccVer (const TData &data, TExpirationTime expiration_time)
 

Static Public Member Functions

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

Private Types

typedef CGBInfoManager::TCacheAcc::TInfoLock TParent
 

Detailed Description

Definition at line 449 of file request_result.hpp.

Member Typedef Documentation

◆ TParent

typedef CGBInfoManager::TCacheAcc::TInfoLock CLoadLockAcc::TParent
private

Definition at line 452 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockAcc() [1/2]

CLoadLockAcc::CLoadLockAcc ( void  )
inline

Definition at line 454 of file request_result.hpp.

◆ CLoadLockAcc() [2/2]

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

Definition at line 1014 of file request_result.cpp.

Member Function Documentation

◆ GetAcc()

static const CSeq_id_Handle& CLoadLockAcc::GetAcc ( const TData &  data)
inlinestatic

◆ GetAccVer()

TData CLoadLockAcc::GetAccVer ( void  ) const
inline

◆ GetExpirationTimeAcc()

TExpirationTime CLoadLockAcc::GetExpirationTimeAcc ( void  ) const
inline

Definition at line 484 of file request_result.hpp.

◆ GetExpType() [1/2]

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

Definition at line 471 of file request_result.hpp.

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

Referenced by CCacheWriter::SaveSeq_idAccVer().

◆ GetExpType() [2/2]

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

Definition at line 475 of file request_result.hpp.

Referenced by CReaderRequestResult::SetLoadedAcc(), and SetLoadedAccVer().

◆ IsFound() [1/2]

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

◆ IsFound() [2/2]

bool CLoadLockAcc::IsFound ( void  ) const
inline

Definition at line 467 of file request_result.hpp.

Referenced by GetExpType().

◆ IsLoadedAccVer()

bool CLoadLockAcc::IsLoadedAccVer ( void  ) const
inline

◆ SetLoadedAccVer() [1/2]

bool CLoadLockAcc::SetLoadedAccVer ( const TData &  data)
inline

Definition at line 492 of file request_result.hpp.

References data, and GetExpType().

Referenced by CCacheReader::LoadSeq_idAccVer(), and CGICacheReader::LoadSeq_idAccVer().

◆ SetLoadedAccVer() [2/2]

bool CLoadLockAcc::SetLoadedAccVer ( const TData &  data,
TExpirationTime  expiration_time 
)
inline

Definition at line 496 of file request_result.hpp.

References data.


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:28 2024 by modify_doxy.py rev. 669887