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

Search Toolkit Book for CLoadLockLength

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

+ Inheritance diagram for CLoadLockLength:
+ Collaboration diagram for CLoadLockLength:

Public Member Functions

 CLoadLockLength (void)
 
 CLoadLockLength (CReaderRequestResult &result, const CSeq_id_Handle &id)
 
bool IsFound (void) const
 
GBL::EExpirationType GetExpType (void) const
 
bool IsLoadedLength (void) const
 
TData GetLength (void) const
 
bool SetLoadedLength (const TData &data)
 
bool SetLoadedLength (const TData &data, TExpirationTime expiration_time)
 

Static Public Member Functions

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

Private Types

typedef CGBInfoManager::TCacheLength::TInfoLock TParent
 

Detailed Description

Definition at line 645 of file request_result.hpp.

Member Typedef Documentation

◆ TParent

typedef CGBInfoManager::TCacheLength::TInfoLock CLoadLockLength::TParent
private

Definition at line 648 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockLength() [1/2]

CLoadLockLength::CLoadLockLength ( void  )
inline

Definition at line 650 of file request_result.hpp.

◆ CLoadLockLength() [2/2]

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

Definition at line 1049 of file request_result.cpp.

Member Function Documentation

◆ GetExpType() [1/2]

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

Definition at line 663 of file request_result.hpp.

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

Referenced by CCacheWriter::SaveSequenceLength().

◆ GetExpType() [2/2]

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

Definition at line 667 of file request_result.hpp.

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

◆ GetLength()

TData CLoadLockLength::GetLength ( void  ) const
inline

◆ IsFound() [1/2]

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

Definition at line 655 of file request_result.hpp.

References data, and kInvalidSeqPos.

◆ IsFound() [2/2]

bool CLoadLockLength::IsFound ( void  ) const
inline

Definition at line 659 of file request_result.hpp.

Referenced by GetExpType().

◆ IsLoadedLength()

bool CLoadLockLength::IsLoadedLength ( void  ) const
inline

◆ SetLoadedLength() [1/2]

bool CLoadLockLength::SetLoadedLength ( const TData &  data)
inline

Definition at line 680 of file request_result.hpp.

References data, and GetExpType().

Referenced by CCacheReader::LoadSequenceLength().

◆ SetLoadedLength() [2/2]

bool CLoadLockLength::SetLoadedLength ( const TData &  data,
TExpirationTime  expiration_time 
)
inline

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