[#CDBIterator] = CDBIterator :mrdocs: Iterates over the key‐value entries of a CDBWrapper. == Synopsis Declared in `<dbwrapper.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class CDBIterator; ---- == Types [cols="1,4"] |=== | Name| Description | xref:CDBIterator/IteratorImpl.adoc[`IteratorImpl`] | Opaque holder for the underlying LevelDB iterator. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:CDBIterator/2constructor.adoc[`CDBIterator`] [.small]#[constructor]# | Constructs an iterator over the given wrapper. | xref:CDBIterator/2destructor.adoc[`~CDBIterator`] [.small]#[destructor]# | Destroys the iterator and releases the underlying LevelDB iterator. | xref:CDBIterator/GetKey.adoc[`GetKey`] | Reads the key at the current position. | xref:CDBIterator/GetValue.adoc[`GetValue`] | Reads and de‐obfuscates the value at the current position. | xref:CDBIterator/Next.adoc[`Next`] | Advances the iterator to the next entry. | xref:CDBIterator/Seek.adoc[`Seek`] | Positions the iterator at the first entry with a key at or after the given key. | xref:CDBIterator/SeekToFirst.adoc[`SeekToFirst`] | Positions the iterator at the first entry in the database. | xref:CDBIterator/Valid.adoc[`Valid`] | Returns true if the iterator is positioned at a valid entry. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:index_util/CopyHeightIndexToHashIndex.adoc[`index_util::CopyHeightIndexToHashIndex`] | Copy an index entry from the height index to the hash index. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#