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::MetaBlockPointer Struct Reference

Public Member Functions

 MetaBlockPointer (idx_t block_pointer, uint32_t offset_p)
 
bool IsValid () const
 
block_id_t GetBlockId () const
 
uint32_t GetBlockIndex () const
 
bool operator== (const MetaBlockPointer &rhs) const
 
void Serialize (Serializer &serializer) const
 

Static Public Member Functions

static MetaBlockPointer Deserialize (Deserializer &source)
 

Public Attributes

idx_t block_pointer
 
uint32_t offset
 
uint32_t unused_padding {0}
 

Friends

std::ostream & operator<< (std::ostream &os, const MetaBlockPointer &obj)
 

Constructor & Destructor Documentation

◆ MetaBlockPointer() [1/2]

duckdb::MetaBlockPointer::MetaBlockPointer ( idx_t  block_pointer,
uint32_t  offset_p 
)
inline
23060 : block_pointer(block_pointer), offset(offset_p) {
23061 }

◆ MetaBlockPointer() [2/2]

duckdb::MetaBlockPointer::MetaBlockPointer ( )
inline
23062 : block_pointer(DConstants::INVALID_INDEX), offset(0) {
23063 }
static constexpr const idx_t INVALID_INDEX
The value used to signify an invalid index entry.
Definition duckdb.hpp:1117

Member Function Documentation

◆ IsValid()

bool duckdb::MetaBlockPointer::IsValid ( ) const
inline
23069 {
23070 return block_pointer != DConstants::INVALID_INDEX;
23071 }

◆ operator==()

bool duckdb::MetaBlockPointer::operator== ( const MetaBlockPointer rhs) const
inline
23075 {
23076 return block_pointer == rhs.block_pointer && offset == rhs.offset;
23077 }

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const MetaBlockPointer obj 
)
friend
23079 {
23080 return os << "{block_id: " << obj.GetBlockId() << " index: " << obj.GetBlockIndex() << " offset: " << obj.offset
23081 << "}";
23082 }

Member Data Documentation

◆ unused_padding

uint32_t duckdb::MetaBlockPointer::unused_padding {0}
23067{0};

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