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

Search Toolkit Book for CPubseqGatewayCacheBase

#include "psg_cache_base.hpp"
(Private to src/objtools/pubseq_gateway/cache.)

+ Inheritance diagram for CPubseqGatewayCacheBase:

Public Member Functions

 CPubseqGatewayCacheBase (const string &file_name)
 
virtual ~CPubseqGatewayCacheBase ()=default
 
void Open ()
 

Protected Member Functions

CLMDBReadOnlyTxn BeginReadTxn ()
 

Protected Attributes

string m_FileName
 
unique_ptr< lmdb::envm_Env
 

Detailed Description

Definition at line 80 of file psg_cache_base.hpp.

Constructor & Destructor Documentation

◆ CPubseqGatewayCacheBase()

BEGIN_IDBLOB_SCOPE CPubseqGatewayCacheBase::CPubseqGatewayCacheBase ( const string file_name)
explicit

Definition at line 48 of file psg_cache_base.cpp.

References lmdb::env::create().

◆ ~CPubseqGatewayCacheBase()

virtual CPubseqGatewayCacheBase::~CPubseqGatewayCacheBase ( )
virtualdefault

Member Function Documentation

◆ BeginReadTxn()

CLMDBReadOnlyTxn CPubseqGatewayCacheBase::BeginReadTxn ( )
protected

◆ Open()

void CPubseqGatewayCacheBase::Open ( void  )

Member Data Documentation

◆ m_Env

unique_ptr<lmdb::env> CPubseqGatewayCacheBase::m_Env
protected

◆ m_FileName

string CPubseqGatewayCacheBase::m_FileName
protected

Definition at line 90 of file psg_cache_base.hpp.

Referenced by Open().


The documentation for this class was generated from the following files:
Modified on Mon Jun 24 05:22:05 2024 by modify_doxy.py rev. 669887