Bitcoin Core 28.99.0
P2P Digital Currency
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages Concepts
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
wallet::RecordHeader Class Reference

General class for records in a BDB BTree database. More...

Public Member Functions

 RecordHeader (bool other_endian)
 
 RecordHeader ()=delete
 
template<typename Stream >
void Unserialize (Stream &s)
 

Public Attributes

uint16_t len
 
RecordType type
 
bool deleted
 
bool other_endian
 

Static Public Attributes

static constexpr size_t SIZE = 3
 

Detailed Description

General class for records in a BDB BTree database.

Contains common fields.

Definition at line 202 of file migrate.cpp.

Constructor & Destructor Documentation

◆ RecordHeader() [1/2]

wallet::RecordHeader::RecordHeader ( bool  other_endian)
inline

Definition at line 213 of file migrate.cpp.

◆ RecordHeader() [2/2]

wallet::RecordHeader::RecordHeader ( )
delete

Member Function Documentation

◆ Unserialize()

template<typename Stream >
void wallet::RecordHeader::Unserialize ( Stream &  s)
inline

Definition at line 217 of file migrate.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ deleted

bool wallet::RecordHeader::deleted

Definition at line 207 of file migrate.cpp.

◆ len

uint16_t wallet::RecordHeader::len

Definition at line 205 of file migrate.cpp.

◆ other_endian

bool wallet::RecordHeader::other_endian

Definition at line 211 of file migrate.cpp.

◆ SIZE

constexpr size_t wallet::RecordHeader::SIZE = 3
staticconstexpr

Definition at line 209 of file migrate.cpp.

◆ type

RecordType wallet::RecordHeader::type

Definition at line 206 of file migrate.cpp.


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