Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef PSG_CACHE_BASE__HPP
2 #define PSG_CACHE_BASE__HPP
57 :
m_Txn(std::move(txn))
#define BEGIN_IDBLOB_SCOPE
CLMDBReadOnlyTxn(lmdb::txn &&txn)
CLMDBReadOnlyTxn & operator=(const CLMDBReadOnlyTxn &)=delete
CLMDBReadOnlyTxn(const CLMDBReadOnlyTxn &)=delete
CLMDBReadOnlyTxn(CLMDBReadOnlyTxn &&)=default
CLMDBReadOnlyTxn & operator=(CLMDBReadOnlyTxn &&)=default
unique_ptr< lmdb::env > m_Env
virtual ~CPubseqGatewayCacheBase()=default
CPubseqGatewayCacheBase(const string &file_name)
CLMDBReadOnlyTxn BeginReadTxn()
void UseReadAhead(bool value)
Resource class for `MDB_txn*` handles.
void commit()
Commits this transaction.
MDB_txn * handle() const noexcept
Returns the underlying `MDB_txn*` handle.
Include a standard set of the NCBI C++ Toolkit most basic headers.
const GenericPointer< typename T::ValueType > T2 value
BEGIN_IDBLOB_SCOPE USING_NCBI_SCOPE