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::StructTypeUnary< A_TYPE > Struct Template Reference

Public Types

using STRUCT_STATE = StructTypeState<1>

Static Public Member Functions

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

Public Attributes

A_TYPE a_val

Member Function Documentation

◆ ConstructType()

template<class A_TYPE>
bool duckdb::StructTypeUnary< A_TYPE >::ConstructType ( STRUCT_STATE & state,
idx_t i,
StructTypeUnary< A_TYPE > & result )
inlinestatic
431232 {
431233 auto &a_data = state.child_data[0];
431234 auto a_idx = a_data.sel->get_index(i);
431235 if (!a_data.validity.RowIsValid(a_idx)) {
431236 return false;
431237 }
431239 result.a_val = a_ptr[a_idx];
431240 return true;
431241 }
Definition duckdb.cpp:431227

◆ AssignResult()

template<class A_TYPE>
void duckdb::StructTypeUnary< A_TYPE >::AssignResult ( Vector & result,
idx_t i,
StructTypeUnary< A_TYPE > value )
inlinestatic
431243 {
431245
431247 a_data[i] = value.a_val;
431248 }

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