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

Public Types

using STRUCT_STATE = StructTypeState<3>

Static Public Member Functions

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

Public Attributes

A_TYPE a_val
B_TYPE b_val
C_TYPE c_val

Member Function Documentation

◆ ConstructType()

template<class A_TYPE, class B_TYPE, class C_TYPE>
bool duckdb::StructTypeTernary< A_TYPE, B_TYPE, C_TYPE >::ConstructType ( STRUCT_STATE & state,
idx_t i,
StructTypeTernary< A_TYPE, B_TYPE, C_TYPE > & result )
inlinestatic
431292 {
431293 auto &a_data = state.child_data[0];
431294 auto &b_data = state.child_data[1];
431295 auto &c_data = state.child_data[2];
431296
431297 auto a_idx = a_data.sel->get_index(i);
431298 auto b_idx = b_data.sel->get_index(i);
431299 auto c_idx = c_data.sel->get_index(i);
431300 if (!a_data.validity.RowIsValid(a_idx) || !b_data.validity.RowIsValid(b_idx) ||
431301 !c_data.validity.RowIsValid(c_idx)) {
431302 return false;
431303 }
431307 result.a_val = a_ptr[a_idx];
431308 result.b_val = b_ptr[b_idx];
431309 result.c_val = c_ptr[c_idx];
431310 return true;
431311 }
Definition duckdb.cpp:431285

◆ AssignResult()

template<class A_TYPE, class B_TYPE, class C_TYPE>
void duckdb::StructTypeTernary< A_TYPE, B_TYPE, C_TYPE >::AssignResult ( Vector & result,
idx_t i,
StructTypeTernary< A_TYPE, B_TYPE, C_TYPE > value )
inlinestatic
431313 {
431315
431319 a_data[i] = value.a_val;
431320 b_data[i] = value.b_val;
431321 c_data[i] = value.c_val;
431322 }

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