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

Search Toolkit Book for CBDB_CacheReaderCF

Class factory for BDB implementation of ICache. More...

+ Inheritance diagram for CBDB_CacheReaderCF:
+ Collaboration diagram for CBDB_CacheReaderCF:

Public Types

typedef CICacheCF< CBDB_CacheTParent
 
- Public Types inherited from CICacheCF< CBDB_Cache >
typedef CSimpleClassFactoryImpl< ICache, CBDB_CacheTParent
 
- Public Types inherited from CSimpleClassFactoryImpl< ICache, CBDB_Cache >
typedef CBDB_Cache TImplementation
 
typedef ICache TInterface
 
typedef IClassFactory< ICacheTParent
 
typedef TParent::SDriverInfo TDriverInfo
 
typedef TParent::TDriverList TDriverList
 
- Public Types inherited from IClassFactory< ICache >
typedef ICache TInterface
 
typedef ncbi::SDriverInfo SDriverInfo
 
typedef ncbi::TDriverList TDriverList
 
typedef CDefaultDriverVersion< ICacheTDefaultDriverVersion
 

Public Member Functions

 CBDB_CacheReaderCF ()
 
 ~CBDB_CacheReaderCF ()
 
- Public Member Functions inherited from CICacheCF< CBDB_Cache >
 CICacheCF (const string &driver_name, int patch_level=-1)
 
void ConfigureICache (ICache *icache, const TPluginManagerParamTree *params) const
 Utility function, configures common ICache parameters. More...
 
void ConfigureTimeStamp (ICache *icache, const TPluginManagerParamTree *params, const string &options) const
 
TParent::TInterfaceCreateInstance (const string &driver=kEmptyStr, CVersionInfo version=TParent::GetDefaultDrvVers(), const TPluginManagerParamTree *params=0) const final
 Create instance of TDriver. More...
 
- Public Member Functions inherited from CSimpleClassFactoryImpl< ICache, CBDB_Cache >
 CSimpleClassFactoryImpl (const string &driver_name, int patch_level=-1)
 Construction. More...
 
void GetDriverVersions (TDriverList &info_list) const
 Versions of the interface exported by the factory. More...
 
- Public Member Functions inherited from IClassFactory< ICache >
virtual ~IClassFactory (void)
 

Private Member Functions

virtual ICachex_CreateInstance (const string &driver=kEmptyStr, CVersionInfo version=NCBI_INTERFACE_VERSION(ICache), const TPluginManagerParamTree *params=0) const
 

Additional Inherited Members

- Static Public Member Functions inherited from IClassFactory< ICache >
static const CVersionInfoGetDefaultDrvVers (void)
 
- Protected Member Functions inherited from CSimpleClassFactoryImpl< ICache, CBDB_Cache >
string GetParam (const TPluginManagerParamTree *params, const string &param_name, bool mandatory, const string &default_value) const
 Utility function to get an element of parameter tree Throws an exception when mandatory parameter is missing (or returns the deafult value) More...
 
const stringGetParam (const TPluginManagerParamTree *params, const string &param_name, bool mandatory) const
 This version always defaults to the empty string so that it can safely return a reference. More...
 
int GetParamInt (const TPluginManagerParamTree *params, const string &param_name, bool, int default_value) const
 Utility function to get an integer of parameter tree Throws an exception when mandatory parameter is missing (or returns the deafult value) More...
 
Uint8 GetParamDataSize (const TPluginManagerParamTree *params, const string &param_name, bool, unsigned int default_value) const
 Utility function to get an integer of parameter tree Throws an exception when mandatory parameter is missing (or returns the deafult value) More...
 
bool GetParamBool (const TPluginManagerParamTree *params, const string &param_name, bool, bool default_value) const
 Utility function to get an bool of parameter tree Throws an exception when mandatory parameter is missing (or returns the deafult value) More...
 
double GetParamDouble (const TPluginManagerParamTree *params, const string &param_name, bool, double default_value) const
 Utility function to get a double of parameter tree Throws an exception when mandatory parameter is missing (or returns the default value) More...
 
- Protected Member Functions inherited from IClassFactory< ICache >
string GetParam (const string &driver_name, const TPluginManagerParamTree *params, const string &param_name, bool mandatory, const string &default_value) const
 Utility function to get an element of parameter tree Throws an exception when mandatory parameter is missing (or returns the default value) More...
 
const stringGetParam (const string &driver_name, const TPluginManagerParamTree *params, const string &param_name, bool mandatory) const
 This version always defaults to the empty string so that it can safely return a reference. More...
 
- Protected Attributes inherited from CSimpleClassFactoryImpl< ICache, CBDB_Cache >
CVersionInfo m_DriverVersionInfo
 
string m_DriverName
 

Detailed Description

Class factory for BDB implementation of ICache.

Definition at line 5163 of file bdb_blobcache.cpp.

Member Typedef Documentation

◆ TParent

Definition at line 5166 of file bdb_blobcache.cpp.

Constructor & Destructor Documentation

◆ CBDB_CacheReaderCF()

CBDB_CacheReaderCF::CBDB_CacheReaderCF ( )
inline

Definition at line 5168 of file bdb_blobcache.cpp.

◆ ~CBDB_CacheReaderCF()

CBDB_CacheReaderCF::~CBDB_CacheReaderCF ( )
inline

Definition at line 5171 of file bdb_blobcache.cpp.

Member Function Documentation

◆ x_CreateInstance()

ICache * CBDB_CacheReaderCF::x_CreateInstance ( const string driver = kEmptyStr,
CVersionInfo  version = NCBI_INTERFACE_VERSION(ICache),
const TPluginManagerParamTree params = 0 
) const
privatevirtual

The documentation for this class was generated from the following file:
Modified on Wed Apr 24 14:14:17 2024 by modify_doxy.py rev. 669887