Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
wallet::BerkeleyROCursor Class Reference

#include <migrate.h>

Inheritance diagram for wallet::BerkeleyROCursor:
[legend]
Collaboration diagram for wallet::BerkeleyROCursor:
[legend]

Public Member Functions

 BerkeleyROCursor (const BerkeleyRODatabase &database, Span< const std::byte > prefix={})
 
 ~BerkeleyROCursor ()=default
 
Status Next (DataStream &key, DataStream &value) override
 
- Public Member Functions inherited from wallet::DatabaseCursor
 DatabaseCursor ()=default
 
virtual ~DatabaseCursor ()=default
 
 DatabaseCursor (const DatabaseCursor &)=delete
 
DatabaseCursoroperator= (const DatabaseCursor &)=delete
 
virtual Status Next (DataStream &key, DataStream &value)
 

Private Attributes

const BerkeleyRODatabasem_database
 
BerkeleyROData::const_iterator m_cursor
 
BerkeleyROData::const_iterator m_cursor_end
 

Additional Inherited Members

- Public Types inherited from wallet::DatabaseCursor
enum class  Status { FAIL , MORE , DONE }
 

Detailed Description

Definition at line 75 of file migrate.h.

Constructor & Destructor Documentation

◆ BerkeleyROCursor()

wallet::BerkeleyROCursor::BerkeleyROCursor ( const BerkeleyRODatabase database,
Span< const std::byte >  prefix = {} 
)
explicit

Definition at line 749 of file migrate.cpp.

◆ ~BerkeleyROCursor()

wallet::BerkeleyROCursor::~BerkeleyROCursor ( )
default

Member Function Documentation

◆ Next()

DatabaseCursor::Status wallet::BerkeleyROCursor::Next ( DataStream key,
DataStream value 
)
overridevirtual

Reimplemented from wallet::DatabaseCursor.

Definition at line 755 of file migrate.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_cursor

BerkeleyROData::const_iterator wallet::BerkeleyROCursor::m_cursor
private

Definition at line 79 of file migrate.h.

◆ m_cursor_end

BerkeleyROData::const_iterator wallet::BerkeleyROCursor::m_cursor_end
private

Definition at line 80 of file migrate.h.

◆ m_database

const BerkeleyRODatabase& wallet::BerkeleyROCursor::m_database
private

Definition at line 78 of file migrate.h.


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