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

Output policy for scanning row IDs only into a set. More...

Collaboration diagram for duckdb::RowIdSetOutput:

Public Member Functions

 RowIdSetOutput (set< row_t > &row_ids, const idx_t capacity)
 
bool IsFull () const
 
void SetKey (const IteratorKey &, const idx_t)
 
void Add (const row_t rid)
 

Public Attributes

set< row_t > & row_ids
 
const idx_t capacity
 

Detailed Description

Output policy for scanning row IDs only into a set.

Constructor & Destructor Documentation

◆ RowIdSetOutput()

duckdb::RowIdSetOutput::RowIdSetOutput ( set< row_t > &  row_ids,
const idx_t  capacity 
)
inline
59034 : row_ids(row_ids), capacity(capacity) {
59035 }

Member Function Documentation

◆ IsFull()

bool duckdb::RowIdSetOutput::IsFull ( ) const
inline
59037 {
59038 D_ASSERT(row_ids.size() >= 0 && row_ids.size() <= capacity);
59039 return row_ids.size() >= capacity;
59040 }

◆ SetKey()

void duckdb::RowIdSetOutput::SetKey ( const IteratorKey ,
const idx_t   
)
inline
59041 {
59042 // No-op: we don't need keys for row ID output.
59043 }

◆ Add()

void duckdb::RowIdSetOutput::Add ( const row_t  rid)
inline
59044 {
59045 row_ids.insert(rid);
59046 }

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