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

Static Public Member Functions

template<class SOURCE_TYPE, class RESULT_TYPE>
static bool Operation (SOURCE_TYPE input, RESULT_TYPE &result)

Member Function Documentation

◆ Operation()

template<class OP>
template<class SOURCE_TYPE, class RESULT_TYPE>
bool duckdb::ToCStringCastWrapper< OP >::Operation ( SOURCE_TYPE input,
RESULT_TYPE & result )
inlinestatic
264074 {
264075 Vector result_vector(LogicalType::VARCHAR, nullptr);
264076 auto result_string = OP::template Operation<SOURCE_TYPE>(input, result_vector);
264077 auto result_size = result_string.GetSize();
264078 auto result_data = result_string.GetData();
264079
264082 allocated_data[result_size] = '\0';
264083 result.data = allocated_data;
264084 result.size = result_size;
264085 return true;
264086 }
void * duckdb_malloc(size_t size)
Definition duckdb.cpp:268084
Definition duckdb.cpp:264072

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