Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Protected Attributes | List of all members
dev::shh::WhisperDB Class Reference

#include <WhisperDB.h>

Inheritance diagram for dev::shh::WhisperDB:
[legend]

Public Member Functions

 WhisperDB (std::string const &_type)
 
virtual ~WhisperDB ()
 
std::string lookup (dev::h256 const &_key) const
 
void insert (dev::h256 const &_key, std::string const &_value)
 
void insert (dev::h256 const &_key, bytes const &_value)
 
void kill (dev::h256 const &_key)
 

Protected Attributes

leveldb::ReadOptions m_readOptions
 
leveldb::WriteOptions m_writeOptions
 
std::unique_ptr< leveldb::DB > m_db
 

Detailed Description

Definition at line 42 of file WhisperDB.h.

Constructor & Destructor Documentation

WhisperDB::WhisperDB ( std::string const &  _type)

Definition at line 32 of file WhisperDB.cpp.

Here is the call graph for this function:

virtual dev::shh::WhisperDB::~WhisperDB ( )
inlinevirtual

Definition at line 46 of file WhisperDB.h.

Member Function Documentation

void dev::shh::WhisperDB::insert ( dev::h256 const &  _key,
std::string const &  _value 
)
void WhisperDB::insert ( dev::h256 const &  _key,
bytes const &  _value 
)

Definition at line 68 of file WhisperDB.cpp.

Here is the call graph for this function:

void WhisperDB::kill ( dev::h256 const &  _key)

Definition at line 77 of file WhisperDB.cpp.

Here is the call graph for this function:

string WhisperDB::lookup ( dev::h256 const &  _key) const

Definition at line 49 of file WhisperDB.cpp.

Here is the call graph for this function:

Member Data Documentation

std::unique_ptr<leveldb::DB> dev::shh::WhisperDB::m_db
protected

Definition at line 55 of file WhisperDB.h.

leveldb::ReadOptions dev::shh::WhisperDB::m_readOptions
protected

Definition at line 53 of file WhisperDB.h.

leveldb::WriteOptions dev::shh::WhisperDB::m_writeOptions
protected

Definition at line 54 of file WhisperDB.h.


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