![]() |
Bitcoin Core 31.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 |
Definition at line 119 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 364 of file dbwrapper.cpp.
|
default |
|
inline |
Definition at line 154 of file dbwrapper.h.
|
private |
Definition at line 378 of file dbwrapper.cpp.
|
inline |
Definition at line 164 of file dbwrapper.h.
|
private |
Definition at line 383 of file dbwrapper.cpp.
| void CDBIterator::Next | ( | ) |
Definition at line 391 of file dbwrapper.cpp.
|
inline |
Definition at line 145 of file dbwrapper.h.
|
private |
Definition at line 372 of file dbwrapper.cpp.
| void CDBIterator::SeekToFirst | ( | ) |
Definition at line 390 of file dbwrapper.cpp.
| bool CDBIterator::Valid | ( | ) | const |
Definition at line 389 of file dbwrapper.cpp.
|
private |
Definition at line 126 of file dbwrapper.h.
|
private |
Definition at line 125 of file dbwrapper.h.