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::UndoBufferReference Struct Reference
Collaboration diagram for duckdb::UndoBufferReference:

Public Member Functions

 UndoBufferReference (UndoBufferEntry &entry_p, BufferHandle handle_p, idx_t position)
 
data_ptr_t Ptr ()
 
bool IsSet () const
 
UndoBufferPointer GetBufferPointer ()
 

Public Attributes

optional_ptr< UndoBufferEntryentry
 
BufferHandle handle
 
idx_t position
 

Constructor & Destructor Documentation

◆ UndoBufferReference() [1/2]

duckdb::UndoBufferReference::UndoBufferReference ( )
inline
9911 : entry(nullptr), position(0) {
9912 }

◆ UndoBufferReference() [2/2]

duckdb::UndoBufferReference::UndoBufferReference ( UndoBufferEntry entry_p,
BufferHandle  handle_p,
idx_t  position 
)
inline
9914 : entry(&entry_p), handle(std::move(handle_p)), position(position) {
9915 }

Member Function Documentation

◆ Ptr()

data_ptr_t duckdb::UndoBufferReference::Ptr ( )
inline
9921 {
9922 return handle.Ptr() + position;
9923 }
data_ptr_t Ptr() const
Returns a pointer to the buffer data. Handle must be valid.
Definition duckdb.hpp:9927

◆ IsSet()

bool duckdb::UndoBufferReference::IsSet ( ) const
inline
9924 {
9925 return entry;
9926 }

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