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

Definition at line 398 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockGi() [1/2]

CLoadLockGi::CLoadLockGi ( void  )

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

◆ GetExpType() [1/2]

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

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

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)

◆ GetGi() [2/2]

TData CLoadLockGi::GetGi ( void  ) const

Definition at line 434 of file request_result.hpp.

◆ IsFound() [1/2]

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

◆ IsFound() [2/2]

bool CLoadLockGi::IsFound ( void  ) const

Definition at line 413 of file request_result.hpp.

Referenced by GetExpType().

◆ IsLoadedGi()

bool CLoadLockGi::IsLoadedGi ( void  ) const

◆ SetLoadedGi() [1/2]

bool CLoadLockGi::SetLoadedGi ( const TData &  data)

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 

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 May 24 14:55:36 2024 by rev. 669887