Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Public Member Functions | Private Member Functions | Private Attributes | List of all members
leveldb::IteratorWrapper Class Reference

#include <iterator_wrapper.h>

Collaboration diagram for leveldb::IteratorWrapper:
Collaboration graph
[legend]

Public Member Functions

 IteratorWrapper ()
 
 IteratorWrapper (Iterator *iter)
 
 ~IteratorWrapper ()
 
Iteratoriter () const
 
void Set (Iterator *iter)
 
bool Valid () const
 
Slice key () const
 
Slice value () const
 
Status status () const
 
void Next ()
 
void Prev ()
 
void Seek (const Slice &k)
 
void SeekToFirst ()
 
void SeekToLast ()
 

Private Member Functions

void Update ()
 

Private Attributes

Iteratoriter_
 
bool valid_
 
Slice key_
 

Detailed Description

Definition at line 14 of file iterator_wrapper.h.

Constructor & Destructor Documentation

leveldb::IteratorWrapper::IteratorWrapper ( )
inline

Definition at line 16 of file iterator_wrapper.h.

leveldb::IteratorWrapper::IteratorWrapper ( Iterator iter)
inlineexplicit

Definition at line 17 of file iterator_wrapper.h.

leveldb::IteratorWrapper::~IteratorWrapper ( )
inline

Definition at line 20 of file iterator_wrapper.h.

Member Function Documentation

Iterator* leveldb::IteratorWrapper::iter ( ) const
inline

Definition at line 21 of file iterator_wrapper.h.

Slice leveldb::IteratorWrapper::key ( ) const
inline

Definition at line 38 of file iterator_wrapper.h.

void leveldb::IteratorWrapper::Next ( )
inline

Definition at line 42 of file iterator_wrapper.h.

void leveldb::IteratorWrapper::Prev ( )
inline

Definition at line 43 of file iterator_wrapper.h.

void leveldb::IteratorWrapper::Seek ( const Slice k)
inline

Definition at line 44 of file iterator_wrapper.h.

void leveldb::IteratorWrapper::SeekToFirst ( )
inline

Definition at line 45 of file iterator_wrapper.h.

void leveldb::IteratorWrapper::SeekToLast ( )
inline

Definition at line 46 of file iterator_wrapper.h.

void leveldb::IteratorWrapper::Set ( Iterator iter)
inline

Definition at line 25 of file iterator_wrapper.h.

Status leveldb::IteratorWrapper::status ( ) const
inline

Definition at line 41 of file iterator_wrapper.h.

void leveldb::IteratorWrapper::Update ( )
inlineprivate

Definition at line 49 of file iterator_wrapper.h.

bool leveldb::IteratorWrapper::Valid ( ) const
inline

Definition at line 37 of file iterator_wrapper.h.

Slice leveldb::IteratorWrapper::value ( ) const
inline

Definition at line 39 of file iterator_wrapper.h.

Member Data Documentation

Iterator* leveldb::IteratorWrapper::iter_
private

Definition at line 56 of file iterator_wrapper.h.

Slice leveldb::IteratorWrapper::key_
private

Definition at line 58 of file iterator_wrapper.h.

bool leveldb::IteratorWrapper::valid_
private

Definition at line 57 of file iterator_wrapper.h.


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