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::GenericListType< CHILD_TYPE > Struct Template Reference
Collaboration diagram for duckdb::GenericListType< CHILD_TYPE >:

Public Types

using STRUCT_STATE = PrimitiveTypeState

Static Public Member Functions

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

Public Attributes

vector< CHILD_TYPE > values

Member Function Documentation

◆ ConstructType()

template<class CHILD_TYPE>
bool duckdb::GenericListType< CHILD_TYPE >::ConstructType ( STRUCT_STATE & state,
idx_t i,
GenericListType< CHILD_TYPE > & result )
inlinestatic
431381 {
431382 throw InternalException("FIXME: implement ConstructType for lists");
431383 }
Definition duckdb.cpp:431376

◆ AssignResult()

template<class CHILD_TYPE>
void duckdb::GenericListType< CHILD_TYPE >::AssignResult ( Vector & result,
idx_t i,
GenericListType< CHILD_TYPE > value )
inlinestatic
431385 {
431388
431389 // reserve space in the child element
431390 auto list_size = value.values.size();
431392
431394 list_entries[i].offset = current_size;
431395 list_entries[i].length = list_size;
431396
431397 for (idx_t child_idx = 0; child_idx < list_size; child_idx++) {
431399 }
431401 }
static DUCKDB_API const Vector & GetEntry(const Vector &vector)
Gets a reference to the underlying child-vector of a list.
Definition duckdb.cpp:138203
static DUCKDB_API void SetListSize(Vector &vec, idx_t size)
Sets the total size of the underlying child-vector of a list.
Definition duckdb.cpp:138248
static DUCKDB_API void Reserve(Vector &vec, idx_t required_capacity)
Sets the total capacity of the underlying child-vector of a list.
Definition duckdb.cpp:138211
static DUCKDB_API idx_t GetListSize(const Vector &vector)
Gets the total size of the underlying child-vector of a list.
Definition duckdb.cpp:138221

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