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

Search Toolkit Book for CVDBObjectCacheBase

#include <sra/readers/sra/vdbread.hpp>

+ Inheritance diagram for CVDBObjectCacheBase:

Public Member Functions

 CVDBObjectCacheBase (void)
 
 ~CVDBObjectCacheBase (void)
 
void Clear (void)
 

Protected Member Functions

CObjectGet (TVDBRowId row)
 
void Put (CObject *curs, TVDBRowId row)
 

Private Types

typedef pair< TVDBRowId, CRef< CObject > > TSlot
 
typedef vector< TSlotTObjects
 

Private Member Functions

 CVDBObjectCacheBase (const CVDBObjectCacheBase &)
 
void operator= (const CVDBObjectCacheBase &)
 

Private Attributes

TObjects m_Objects
 

Detailed Description

Definition at line 430 of file vdbread.hpp.

Member Typedef Documentation

◆ TObjects

typedef vector<TSlot> CVDBObjectCacheBase::TObjects
private

Definition at line 444 of file vdbread.hpp.

◆ TSlot

Definition at line 443 of file vdbread.hpp.

Constructor & Destructor Documentation

◆ CVDBObjectCacheBase() [1/2]

CVDBObjectCacheBase::CVDBObjectCacheBase ( void  )

Definition at line 1455 of file vdbread.cpp.

References kCacheSize, and m_Objects.

◆ ~CVDBObjectCacheBase()

CVDBObjectCacheBase::~CVDBObjectCacheBase ( void  )

Definition at line 1461 of file vdbread.cpp.

◆ CVDBObjectCacheBase() [2/2]

CVDBObjectCacheBase::CVDBObjectCacheBase ( const CVDBObjectCacheBase )
private

Member Function Documentation

◆ Clear()

void CVDBObjectCacheBase::Clear ( void  )

Definition at line 1469 of file vdbread.cpp.

References m_Objects.

◆ Get()

CObject * CVDBObjectCacheBase::Get ( TVDBRowId  row)
protected

◆ operator=()

void CVDBObjectCacheBase::operator= ( const CVDBObjectCacheBase )
private

◆ Put()

void CVDBObjectCacheBase::Put ( CObject curs,
TVDBRowId  row 
)
protected

Member Data Documentation

◆ m_Objects

TObjects CVDBObjectCacheBase::m_Objects
private

Definition at line 445 of file vdbread.hpp.

Referenced by Clear(), CVDBObjectCacheBase(), Get(), and Put().


The documentation for this class was generated from the following files:
Modified on Sun Feb 25 03:07:12 2024 by modify_doxy.py rev. 669887