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

Search Toolkit Book for CLoadLockType

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

+ Inheritance diagram for CLoadLockType:
+ Collaboration diagram for CLoadLockType:

Public Member Functions

 CLoadLockType (void)
 
 CLoadLockType (CReaderRequestResult &result, const CSeq_id_Handle &id)
 
bool IsFound (void) const
 
GBL::EExpirationType GetExpType (void) const
 
bool IsLoadedType (void) const
 
TData GetType (void) const
 
bool SetLoadedType (const TData &data)
 
bool SetLoadedType (const TData &data, TExpirationTime expiration_time)
 

Static Public Member Functions

static CSeq_inst::TMol GetType (const TData &data)
 
static bool IsFound (const TData &data)
 
static GBL::EExpirationType GetExpType (const TData &data)
 

Private Types

typedef CGBInfoManager::TCacheType::TInfoLock TParent
 

Detailed Description

Definition at line 691 of file request_result.hpp.

Member Typedef Documentation

◆ TParent

typedef CGBInfoManager::TCacheType::TInfoLock CLoadLockType::TParent
private

Definition at line 694 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockType() [1/2]

CLoadLockType::CLoadLockType ( void  )
inline

Definition at line 696 of file request_result.hpp.

◆ CLoadLockType() [2/2]

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

Definition at line 1056 of file request_result.cpp.

Member Function Documentation

◆ GetExpType() [1/2]

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

Definition at line 713 of file request_result.hpp.

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

Referenced by CCacheWriter::SaveSequenceType().

◆ GetExpType() [2/2]

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

Definition at line 717 of file request_result.hpp.

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

◆ GetType() [1/2]

static CSeq_inst::TMol CLoadLockType::GetType ( const TData &  data)
inlinestatic

◆ GetType() [2/2]

TData CLoadLockType::GetType ( void  ) const
inline

Definition at line 726 of file request_result.hpp.

◆ IsFound() [1/2]

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

Definition at line 705 of file request_result.hpp.

References data.

Referenced by CId2ReaderBase::LoadTypes(), and CReader::LoadTypes().

◆ IsFound() [2/2]

bool CLoadLockType::IsFound ( void  ) const
inline

Definition at line 709 of file request_result.hpp.

Referenced by GetExpType().

◆ IsLoadedType()

bool CLoadLockType::IsLoadedType ( void  ) const
inline

◆ SetLoadedType() [1/2]

bool CLoadLockType::SetLoadedType ( const TData &  data)
inline

Definition at line 730 of file request_result.hpp.

References data, and GetExpType().

Referenced by CCacheReader::LoadSequenceType().

◆ SetLoadedType() [2/2]

bool CLoadLockType::SetLoadedType ( const TData &  data,
TExpirationTime  expiration_time 
)
inline

Definition at line 734 of file request_result.hpp.

References data.


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