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::StructTypeBinary< A_TYPE, B_TYPE > Struct Template Reference

Public Types

using STRUCT_STATE = StructTypeState<2>

Static Public Member Functions

static bool ConstructType (STRUCT_STATE &state, idx_t i, StructTypeBinary< A_TYPE, B_TYPE > &result)
static void AssignResult (Vector &result, idx_t i, StructTypeBinary< A_TYPE, B_TYPE > value)

Public Attributes

A_TYPE a_val
B_TYPE b_val

Member Function Documentation

◆ ConstructType()

template<class A_TYPE, class B_TYPE>
bool duckdb::StructTypeBinary< A_TYPE, B_TYPE >::ConstructType ( STRUCT_STATE & state,
idx_t i,
StructTypeBinary< A_TYPE, B_TYPE > & result )
inlinestatic
431258 {
431259 auto &a_data = state.child_data[0];
431260 auto &b_data = state.child_data[1];
431261
431262 auto a_idx = a_data.sel->get_index(i);
431263 auto b_idx = b_data.sel->get_index(i);
431264 if (!a_data.validity.RowIsValid(a_idx) || !b_data.validity.RowIsValid(b_idx)) {
431265 return false;
431266 }
431269 result.a_val = a_ptr[a_idx];
431270 result.b_val = b_ptr[b_idx];
431271 return true;
431272 }
Definition duckdb.cpp:431252

◆ AssignResult()

template<class A_TYPE, class B_TYPE>
void duckdb::StructTypeBinary< A_TYPE, B_TYPE >::AssignResult ( Vector & result,
idx_t i,
StructTypeBinary< A_TYPE, B_TYPE > value )
inlinestatic
431274 {
431276
431279 a_data[i] = value.a_val;
431280 b_data[i] = value.b_val;
431281 }

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