Bitcoin
Classes | Public Member Functions | Private Attributes | Friends | List of all members
leveldb::WriteBatch Class Reference

#include <write_batch.h>

Classes

class  Handler
 

Public Member Functions

 WriteBatch ()
 
 ~WriteBatch ()
 
void Put (const Slice &key, const Slice &value)
 
void Delete (const Slice &key)
 
void Clear ()
 
Status Iterate (Handler *handler) const
 

Private Attributes

std::string rep_
 

Friends

class WriteBatchInternal
 

Constructor & Destructor Documentation

◆ WriteBatch()

leveldb::WriteBatch::WriteBatch ( )

◆ ~WriteBatch()

leveldb::WriteBatch::~WriteBatch ( )

Member Function Documentation

◆ Clear()

void leveldb::WriteBatch::Clear ( )

◆ Delete()

void leveldb::WriteBatch::Delete ( const Slice key)

◆ Iterate()

Status leveldb::WriteBatch::Iterate ( Handler handler) const

◆ Put()

void leveldb::WriteBatch::Put ( const Slice key,
const Slice value 
)

Friends And Related Function Documentation

◆ WriteBatchInternal

friend class WriteBatchInternal
friend

Member Data Documentation

◆ rep_

std::string leveldb::WriteBatch::rep_
private

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