NCBI C++ ToolKit
|
Search Toolkit Book for CVDBObjectCacheBase
#include <sra/readers/sra/vdbread.hpp>
Public Member Functions | |
CVDBObjectCacheBase (void) | |
~CVDBObjectCacheBase (void) | |
void | Clear (void) |
Protected Member Functions | |
CObject * | Get (TVDBRowId row) |
void | Put (CObject *curs, TVDBRowId row) |
Private Types | |
typedef pair< TVDBRowId, CRef< CObject > > | TSlot |
typedef vector< TSlot > | TObjects |
Private Member Functions | |
CVDBObjectCacheBase (const CVDBObjectCacheBase &) | |
void | operator= (const CVDBObjectCacheBase &) |
Private Attributes | |
TObjects | m_Objects |
Definition at line 447 of file vdbread.hpp.
|
private |
Definition at line 461 of file vdbread.hpp.
|
private |
Definition at line 460 of file vdbread.hpp.
CVDBObjectCacheBase::CVDBObjectCacheBase | ( | void | ) |
Definition at line 1503 of file vdbread.cpp.
References kCacheSize, and m_Objects.
CVDBObjectCacheBase::~CVDBObjectCacheBase | ( | void | ) |
Definition at line 1509 of file vdbread.cpp.
|
private |
void CVDBObjectCacheBase::Clear | ( | void | ) |
Definition at line 1517 of file vdbread.cpp.
References m_Objects.
Definition at line 1524 of file vdbread.cpp.
References _ASSERT, m_Objects, max(), NON_CONST_ITERATE, CObject::Referenced(), and row.
Referenced by CVDBObjectCache< CSNPDb_Impl::SExtraTableCursor >::Get().
|
private |
Definition at line 1557 of file vdbread.cpp.
References kCacheSize, m_Objects, CObject::Referenced(), and row.
Referenced by CVDBObjectCache< CSNPDb_Impl::SExtraTableCursor >::Put().
|
private |
Definition at line 462 of file vdbread.hpp.
Referenced by Clear(), CVDBObjectCacheBase(), Get(), and Put().