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::CBlobConverter Struct Reference

Static Public Member Functions

template<class SRC, class DST>
static DST Convert (SRC input)
template<class DST>
static void NullConvert (DST &target)

Member Function Documentation

◆ Convert()

template<class SRC, class DST>
DST duckdb::CBlobConverter::Convert ( SRC input)
inlinestatic
269775 {
269776 duckdb_blob result;
269777 result.data = char_ptr_cast(duckdb_malloc(input.GetSize()));
269778 result.size = input.GetSize();
269779 assert(result.data);
269780 memcpy(result.data, input.GetData(), input.GetSize());
269781 return result;
269782 }
void * duckdb_malloc(size_t size)
Definition duckdb.cpp:268084
#define assert(x)
Definition duckdb.cpp:486071

◆ NullConvert()

template<class DST>
void duckdb::CBlobConverter::NullConvert ( DST & target)
inlinestatic
269785 {
269786 target.data = nullptr;
269787 target.size = 0;
269788 }

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