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

Definition at line 163 of file tse_lock.hpp.

Definition at line 162 of file tse_lock.hpp.

Member Function Documentation

bool CTSE_LockSet::AddLock ( const CTSE_Lock lock)
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().

void CTSE_LockSet::clear ( void  )

Definition at line 2067 of file data_source.cpp.

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

Referenced by CDataSource_ScopeInfo::ResetDS().

void CTSE_LockSet::Drop ( void  )
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().

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.

CTSE_Lock CTSE_LockSet::FindLock ( const CTSE_Info info) const
CDataLoader::TTSE_LockSet CTSE_LockSet::GetBestTSEs ( void  ) const
bool CTSE_LockSet::IsBetter ( const CTSE_Info tse1,
const CTSE_Info tse2 
)
static

Definition at line 2136 of file data_source.cpp.

References CTSE_Info::GetBlobOrder().

Referenced by GetBestTSEs().

bool CTSE_LockSet::PutLock ( CTSE_Lock lock)

Definition at line 2099 of file data_source.cpp.

References m_TSE_LockSet.

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

bool CTSE_LockSet::RemoveLock ( const CTSE_Lock lock)
bool CTSE_LockSet::RemoveLock ( const CTSE_Info info)

Definition at line 2112 of file data_source.cpp.

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

size_t CTSE_LockSet::size ( void  ) const
inline

Member Data Documentation

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 Sun Jun 25 17:48:12 2017 by modify_doxy.py rev. 533848