NCBI C++ ToolKit
Classes | Public Types | Public Member Functions | Private Member Functions | List of all members
CReaderCacheManager Class Referenceabstract

Search Toolkit Book for CReaderCacheManager

#include <objtools/data_loaders/genbank/impl/cache_manager.hpp>

+ Inheritance diagram for CReaderCacheManager:

Classes

struct  SReaderCacheInfo
 

Public Types

enum  ECacheType { fCache_Id = 1<<0 , fCache_Blob = 1<<1 , fCache_Any = fCache_Id | fCache_Blob }
 
typedef int TCacheType
 
typedef vector< SReaderCacheInfoTCaches
 
typedef TPluginManagerParamTree TCacheParams
 

Public Member Functions

 CReaderCacheManager (void)
 
virtual ~CReaderCacheManager (void)
 
virtual void RegisterCache (ICache &cache, ECacheType cache_type)=0
 
virtual TCachesGetCaches (void)=0
 
virtual ICacheFindCache (ECacheType cache_type, const TCacheParams *params)=0
 

Private Member Functions

 CReaderCacheManager (const CReaderCacheManager &)
 
void operator= (const CReaderCacheManager &)
 

Detailed Description

Definition at line 39 of file cache_manager.hpp.

Member Typedef Documentation

◆ TCacheParams

Definition at line 57 of file cache_manager.hpp.

◆ TCaches

Definition at line 56 of file cache_manager.hpp.

◆ TCacheType

Definition at line 47 of file cache_manager.hpp.

Member Enumeration Documentation

◆ ECacheType

Enumerator
fCache_Id 
fCache_Blob 
fCache_Any 

Definition at line 42 of file cache_manager.hpp.

Constructor & Destructor Documentation

◆ CReaderCacheManager() [1/2]

CReaderCacheManager::CReaderCacheManager ( void  )

Definition at line 1413 of file reader.cpp.

◆ ~CReaderCacheManager()

CReaderCacheManager::~CReaderCacheManager ( void  )
virtual

Definition at line 1418 of file reader.cpp.

◆ CReaderCacheManager() [2/2]

CReaderCacheManager::CReaderCacheManager ( const CReaderCacheManager )
private

Member Function Documentation

◆ FindCache()

virtual ICache* CReaderCacheManager::FindCache ( ECacheType  cache_type,
const TCacheParams params 
)
pure virtual

Implemented in CGBReaderCacheManager.

◆ GetCaches()

virtual TCaches& CReaderCacheManager::GetCaches ( void  )
pure virtual

Implemented in CGBReaderCacheManager.

◆ operator=()

void CReaderCacheManager::operator= ( const CReaderCacheManager )
private

◆ RegisterCache()

virtual void CReaderCacheManager::RegisterCache ( ICache cache,
ECacheType  cache_type 
)
pure virtual

The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:08:16 2024 by modify_doxy.py rev. 669887