PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Private Attributes | Friends | List of all members
CDBBatch Class Reference

Batch of changes queued to be written to a CDBWrapper. More...

#include <dbwrapper.h>

Public Member Functions

template<typename K , typename V >
void Write (const K &key, const V &value)
 
template<typename K >
void Erase (const K &key)
 

Private Attributes

leveldb::WriteBatch batch
 

Friends

class CDBWrapper
 

Detailed Description

Batch of changes queued to be written to a CDBWrapper.

Definition at line 39 of file dbwrapper.h.

Member Function Documentation

◆ Erase()

template<typename K >
void CDBBatch::Erase ( const K &  key)
inline

Definition at line 65 of file dbwrapper.h.

Here is the caller graph for this function:

◆ Write()

template<typename K , typename V >
void CDBBatch::Write ( const K &  key,
const V &  value 
)
inline

Definition at line 49 of file dbwrapper.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ CDBWrapper

friend class CDBWrapper
friend

Definition at line 41 of file dbwrapper.h.

Member Data Documentation

◆ batch

leveldb::WriteBatch CDBBatch::batch
private

Definition at line 44 of file dbwrapper.h.


The documentation for this class was generated from the following file: