Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::UndoBufferPointer Struct Reference
Collaboration diagram for duckdb::UndoBufferPointer:

Public Member Functions

 UndoBufferPointer (UndoBufferEntry &entry_p, idx_t position)
UndoBufferReference Pin () const
bool IsSet () const

Public Attributes

UndoBufferEntry * entry
idx_t position

Constructor & Destructor Documentation

◆ UndoBufferPointer() [1/2]

duckdb::UndoBufferPointer::UndoBufferPointer ( )
inline
9932 : entry(nullptr), position(0) {
9933 }

◆ UndoBufferPointer() [2/2]

duckdb::UndoBufferPointer::UndoBufferPointer ( UndoBufferEntry & entry_p,
idx_t position )
inline
9934 : entry(&entry_p), position(position) {
9935 }

Member Function Documentation

◆ Pin()

UndoBufferReference duckdb::UndoBufferPointer::Pin ( ) const
447868 {
447869 if (!entry) {
447870 throw InternalException("UndoBufferPointer::Pin called but no entry was found");
447871 }
447872 D_ASSERT(entry->capacity >= position);
447873 auto handle = entry->buffer_manager.Pin(entry->block);
447874 return UndoBufferReference(*entry, std::move(handle), position);
447875}

◆ IsSet()

bool duckdb::UndoBufferPointer::IsSet ( ) const
inline
9941 {
9942 return entry;
9943 }

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