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

Search Toolkit Book for CLoadLockLabel

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

+ Inheritance diagram for CLoadLockLabel:
+ Collaboration diagram for CLoadLockLabel:

Public Member Functions

 CLoadLockLabel (void)
 
 CLoadLockLabel (CReaderRequestResult &result, const CSeq_id_Handle &id)
 
bool IsFound (void) const
 
GBL::EExpirationType GetExpType (void) const
 
bool IsLoadedLabel (void) const
 
TData GetLabel (void) const
 
bool SetLoadedLabel (const TData &data)
 
bool SetLoadedLabel (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::TCacheLabel::TInfoLock TParent
 

Detailed Description

Definition at line 503 of file request_result.hpp.

Member Typedef Documentation

◆ TParent

typedef CGBInfoManager::TCacheLabel::TInfoLock CLoadLockLabel::TParent
private

Definition at line 506 of file request_result.hpp.

Constructor & Destructor Documentation

◆ CLoadLockLabel() [1/2]

CLoadLockLabel::CLoadLockLabel ( void  )
inline

Definition at line 508 of file request_result.hpp.

◆ CLoadLockLabel() [2/2]

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

Definition at line 1028 of file request_result.cpp.

Member Function Documentation

◆ GetExpType() [1/2]

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

Definition at line 521 of file request_result.hpp.

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

Referenced by CCacheWriter::SaveSeq_idLabel().

◆ GetExpType() [2/2]

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

Definition at line 525 of file request_result.hpp.

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

◆ GetLabel()

TData CLoadLockLabel::GetLabel ( void  ) const
inline

◆ IsFound() [1/2]

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

Definition at line 513 of file request_result.hpp.

References data.

◆ IsFound() [2/2]

bool CLoadLockLabel::IsFound ( void  ) const
inline

Definition at line 517 of file request_result.hpp.

Referenced by GetExpType().

◆ IsLoadedLabel()

bool CLoadLockLabel::IsLoadedLabel ( void  ) const
inline

◆ SetLoadedLabel() [1/2]

bool CLoadLockLabel::SetLoadedLabel ( const TData &  data)
inline

Definition at line 538 of file request_result.hpp.

References data, and GetExpType().

Referenced by CId2ReaderBase::LoadLabels(), and CCacheReader::LoadSeq_idLabel().

◆ SetLoadedLabel() [2/2]

bool CLoadLockLabel::SetLoadedLabel ( const TData &  data,
TExpirationTime  expiration_time 
)
inline

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