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

Search Toolkit Book for CLoadLockGi

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

+ Inheritance diagram for CLoadLockGi:
+ Collaboration diagram for CLoadLockGi:

Public Member Functions

 CLoadLockGi (void)
 
 CLoadLockGi (CReaderRequestResult &result, const CSeq_id_Handle &id)
 
bool IsFound (void) const
 
GBL::EExpirationType GetExpType (void) const
 
bool IsLoadedGi (void) const
 
TExpirationTime GetExpirationTimeGi (void) const
 
TData GetGi (void) const
 
bool SetLoadedGi (const TData &data)
 
bool SetLoadedGi (const TData &data, TExpirationTime expiration_time)
 

Static Public Member Functions

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

Private Types

typedef CGBInfoManager::TCacheGi::TInfoLock TParent
 

Detailed Description

Definition at line 395 of file request_result.hpp.

Member Typedef Documentation

◆ TParent

typedef CGBInfoManager::TCacheGi::TInfoLock CLoadLockGi::TParent
private

Definition at line 398 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockGi() [1/2]

CLoadLockGi::CLoadLockGi ( void  )
inline

Definition at line 400 of file request_result.hpp.

◆ CLoadLockGi() [2/2]

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

Definition at line 1021 of file request_result.cpp.

Member Function Documentation

◆ GetExpirationTimeGi()

TExpirationTime CLoadLockGi::GetExpirationTimeGi ( void  ) const
inline

◆ GetExpType() [1/2]

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

Definition at line 417 of file request_result.hpp.

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

Referenced by CCacheWriter::SaveSeq_idGi().

◆ GetExpType() [2/2]

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

Definition at line 421 of file request_result.hpp.

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

◆ GetGi() [1/2]

static TGi CLoadLockGi::GetGi ( const TData &  data)
inlinestatic

◆ GetGi() [2/2]

TData CLoadLockGi::GetGi ( void  ) const
inline

Definition at line 434 of file request_result.hpp.

◆ IsFound() [1/2]

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

◆ IsFound() [2/2]

bool CLoadLockGi::IsFound ( void  ) const
inline

Definition at line 413 of file request_result.hpp.

Referenced by GetExpType().

◆ IsLoadedGi()

bool CLoadLockGi::IsLoadedGi ( void  ) const
inline

◆ SetLoadedGi() [1/2]

bool CLoadLockGi::SetLoadedGi ( const TData &  data)
inline

Definition at line 438 of file request_result.hpp.

References data, and GetExpType().

Referenced by CCacheReader::LoadSeq_idGi().

◆ SetLoadedGi() [2/2]

bool CLoadLockGi::SetLoadedGi ( const TData &  data,
TExpirationTime  expiration_time 
)
inline

Definition at line 442 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:03 2024 by modify_doxy.py rev. 669887