Iterates over the key‐value entries of a CDBWrapper.

Synopsis

Declared in <dbwrapper.h>

class CDBIterator;

Types

Name

Description

IteratorImpl

Opaque holder for the underlying LevelDB iterator.

Member Functions

Name

Description

CDBIterator [constructor]

Constructs an iterator over the given wrapper.

~CDBIterator [destructor]

Destroys the iterator and releases the underlying LevelDB iterator.

GetKey

Reads the key at the current position.

GetValue

Reads and de‐obfuscates the value at the current position.

Next

Advances the iterator to the next entry.

Seek

Positions the iterator at the first entry with a key at or after the given key.

SeekToFirst

Positions the iterator at the first entry in the database.

Valid

Returns true if the iterator is positioned at a valid entry.

Non-Member Functions

Name

Description

index_util::CopyHeightIndexToHashIndex

Copy an index entry from the height index to the hash index.

Created with MrDocs