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::VectorDecimalCastOperator< OP > Struct Template Reference

Static Public Member Functions

template<class INPUT_TYPE, class RESULT_TYPE>
static RESULT_TYPE Operation (INPUT_TYPE input, ValidityMask &mask, idx_t idx, void *dataptr)

Member Function Documentation

◆ Operation()

template<class OP>
template<class INPUT_TYPE, class RESULT_TYPE>
RESULT_TYPE duckdb::VectorDecimalCastOperator< OP >::Operation ( INPUT_TYPE input,
ValidityMask & mask,
idx_t idx,
void * dataptr )
inlinestatic
212396 {
212397 auto data = reinterpret_cast<VectorDecimalCastData *>(dataptr);
212399 if (!OP::template Operation<INPUT_TYPE, RESULT_TYPE>(input, result_value, data->vector_cast_data.parameters,
212400 data->width, data->scale)) {
212401 return HandleVectorCastError::Operation<RESULT_TYPE>("Failed to cast decimal value", mask, idx,
212402 data->vector_cast_data);
212403 }
212404 return result_value;
212405 }
Definition duckdb.cpp:212394

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