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::OptionalSelection Class Reference
Collaboration diagram for duckdb::OptionalSelection:

Public Member Functions

 OptionalSelection (SelectionVector *sel_p)
 
void Initialize (SelectionVector *sel_p)
 
 operator SelectionVector * ()
 
void Append (idx_t &count, const idx_t idx)
 
void Advance (idx_t completed)
 

Private Attributes

SelectionVectorsel
 
SelectionVector vec
 

Constructor & Destructor Documentation

◆ OptionalSelection()

duckdb::OptionalSelection::OptionalSelection ( SelectionVector sel_p)
inlineexplicit
8880 {
8881 Initialize(sel_p);
8882 }

Member Function Documentation

◆ Initialize()

void duckdb::OptionalSelection::Initialize ( SelectionVector sel_p)
inline
8883 {
8884 sel = sel_p;
8885 if (sel) {
8886 vec.Initialize(sel->data());
8887 sel = &vec;
8888 }
8889 }

◆ operator SelectionVector *()

duckdb::OptionalSelection::operator SelectionVector * ( )
inline
8891 { // NOLINT: allow implicit conversion to SelectionVector
8892 return sel;
8893 }

◆ Append()

void duckdb::OptionalSelection::Append ( idx_t count,
const idx_t  idx 
)
inline
8895 {
8896 if (sel) {
8897 sel->set_index(count, idx);
8898 }
8899 ++count;
8900 }

◆ Advance()

void duckdb::OptionalSelection::Advance ( idx_t  completed)
inline
8902 {
8903 if (sel) {
8904 sel->Initialize(sel->data() + completed);
8905 }
8906 }

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