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

Search Toolkit Book for CTSE_LockSet

#include <objmgr/impl/tse_lock.hpp>

+ Collaboration diagram for CTSE_LockSet:

Public Types

typedef map< const CTSE_Info *, CTSE_LockTTSE_LockSet
 
typedef TTSE_LockSet::const_iterator const_iterator
 

Public Member Functions

const_iterator begin (void) const
 
const_iterator end (void) const
 
bool empty (void) const
 
size_t size (void) const
 
void clear (void)
 
void Drop (void)
 
CTSE_Lock FindLock (const CTSE_Info *info) const
 
bool AddLock (const CTSE_Lock &lock)
 
bool PutLock (CTSE_Lock &lock)
 
bool RemoveLock (const CTSE_Lock &lock)
 
bool RemoveLock (const CTSE_Info *info)
 
set< CTSE_LockGetBestTSEs (void) const
 

Static Public Member Functions

static bool IsBetter (const CTSE_Info &tse1, const CTSE_Info &tse2)
 

Private Attributes

TTSE_LockSet m_TSE_LockSet
 

Detailed Description

Definition at line 159 of file tse_lock.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 163 of file tse_lock.hpp.

◆ TTSE_LockSet

Definition at line 162 of file tse_lock.hpp.

Member Function Documentation

◆ AddLock()

bool CTSE_LockSet::AddLock ( const CTSE_Lock lock)

◆ begin()

const_iterator CTSE_LockSet::begin ( void  ) const
inline

Definition at line 164 of file tse_lock.hpp.

References map_checker< Container >::begin(), and m_TSE_LockSet.

Referenced by CDataSource::GetSharedTSE().

◆ clear()

void CTSE_LockSet::clear ( void  )

Definition at line 2594 of file data_source.cpp.

References map_checker< Container >::clear(), and m_TSE_LockSet.

Referenced by CDataSource_ScopeInfo::ResetDS().

◆ Drop()

void CTSE_LockSet::Drop ( void  )

◆ empty()

bool CTSE_LockSet::empty ( void  ) const
inline

Definition at line 173 of file tse_lock.hpp.

References map_checker< Container >::empty(), and m_TSE_LockSet.

Referenced by CDataSource::AddTSE(), and CDataSource::GetMatches().

◆ end()

const_iterator CTSE_LockSet::end ( void  ) const
inline

Definition at line 168 of file tse_lock.hpp.

References map_checker< Container >::end(), and m_TSE_LockSet.

◆ FindLock()

CTSE_Lock CTSE_LockSet::FindLock ( const CTSE_Info info) const

◆ GetBestTSEs()

CDataLoader::TTSE_LockSet CTSE_LockSet::GetBestTSEs ( void  ) const

◆ IsBetter()

bool CTSE_LockSet::IsBetter ( const CTSE_Info tse1,
const CTSE_Info tse2 
)
static

Definition at line 2663 of file data_source.cpp.

References CTSE_Info::GetBlobOrder().

Referenced by GetBestTSEs().

◆ PutLock()

bool CTSE_LockSet::PutLock ( CTSE_Lock lock)

Definition at line 2626 of file data_source.cpp.

References m_TSE_LockSet.

Referenced by CDataSource::CDataSource(), and CDataSource::x_FindBestTSE().

◆ RemoveLock() [1/2]

bool CTSE_LockSet::RemoveLock ( const CTSE_Info info)

Definition at line 2639 of file data_source.cpp.

References map_checker< Container >::erase(), info, and m_TSE_LockSet.

◆ RemoveLock() [2/2]

bool CTSE_LockSet::RemoveLock ( const CTSE_Lock lock)

◆ size()

size_t CTSE_LockSet::size ( void  ) const
inline

Member Data Documentation

◆ m_TSE_LockSet

TTSE_LockSet CTSE_LockSet::m_TSE_LockSet
private

Definition at line 197 of file tse_lock.hpp.

Referenced by AddLock(), begin(), clear(), Drop(), empty(), end(), FindLock(), GetBestTSEs(), PutLock(), RemoveLock(), and size().


The documentation for this class was generated from the following files:
Modified on Wed Jul 24 17:18:43 2024 by modify_doxy.py rev. 669887