![]() |
Bitcoin Core 32.1.0
P2P Digital Currency
|
#include <dbwrapper.h>
Classes | |
| struct | IteratorImpl |
Public Member Functions | |
| CDBIterator (const CDBWrapper &_parent, std::unique_ptr< IteratorImpl > _piter) | |
| ~CDBIterator () | |
| bool | Valid () const |
| void | SeekToFirst () |
| template<typename K> | |
| void | Seek (const K &key) |
| void | Next () |
| template<typename K> | |
| bool | GetKey (K &key) |
| template<typename V> | |
| bool | GetValue (V &value) |
Private Member Functions | |
| void | SeekImpl (std::span< const std::byte > key) |
| std::span< const std::byte > | GetKeyImpl () const |
| std::span< const std::byte > | GetValueImpl () const |
Private Attributes | |
| const CDBWrapper & | parent |
| const std::unique_ptr< IteratorImpl > | m_impl_iter |
| DataStream | m_scratch {} |
Definition at line 132 of file dbwrapper.h.
| CDBIterator::CDBIterator | ( | const CDBWrapper & | _parent, |
| std::unique_ptr< IteratorImpl > | _piter ) |
| [in] | _parent | Parent CDBWrapper instance. |
| [in] | _piter | The original leveldb iterator. |
Definition at line 398 of file dbwrapper.cpp.
|
default |
|
inline |
Definition at line 167 of file dbwrapper.h.
|
private |
Definition at line 415 of file dbwrapper.cpp.
|
inline |
Definition at line 177 of file dbwrapper.h.
|
private |
Definition at line 422 of file dbwrapper.cpp.
| void CDBIterator::Next | ( | ) |
Definition at line 430 of file dbwrapper.cpp.
|
inline |
Definition at line 159 of file dbwrapper.h.
|
private |
Definition at line 409 of file dbwrapper.cpp.
| void CDBIterator::SeekToFirst | ( | ) |
| bool CDBIterator::Valid | ( | ) | const |
|
private |
Definition at line 139 of file dbwrapper.h.
|
private |
Definition at line 140 of file dbwrapper.h.
|
private |
Definition at line 138 of file dbwrapper.h.