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 447 of file vdbread.hpp.

Member Typedef Documentation

◆ TObjects

typedef vector<TSlot> CVDBObjectCacheBase::TObjects
private

Definition at line 461 of file vdbread.hpp.

◆ TSlot

Definition at line 460 of file vdbread.hpp.

Constructor & Destructor Documentation

◆ CVDBObjectCacheBase() [1/2]

CVDBObjectCacheBase::CVDBObjectCacheBase ( void  )

Definition at line 1503 of file vdbread.cpp.

References kCacheSize, and m_Objects.

◆ ~CVDBObjectCacheBase()

CVDBObjectCacheBase::~CVDBObjectCacheBase ( void  )

Definition at line 1509 of file vdbread.cpp.

◆ CVDBObjectCacheBase() [2/2]

CVDBObjectCacheBase::CVDBObjectCacheBase ( const CVDBObjectCacheBase )
private

Member Function Documentation

◆ Clear()

void CVDBObjectCacheBase::Clear ( void  )

Definition at line 1517 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 462 of file vdbread.hpp.

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


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:58:26 2024 by modify_doxy.py rev. 669887