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::UnifiedVectorFormat Struct Reference
Collaboration diagram for duckdb::UnifiedVectorFormat:

Public Member Functions

 UnifiedVectorFormat (const UnifiedVectorFormat &other)=delete
 
UnifiedVectorFormatoperator= (const UnifiedVectorFormat &)=delete
 
DUCKDB_API UnifiedVectorFormat (UnifiedVectorFormat &&other) noexcept
 enable move constructors
 
DUCKDB_API UnifiedVectorFormatoperator= (UnifiedVectorFormat &&) noexcept
 
template<class T >
void VerifyVectorType () const
 
template<class T >
const T * GetData () const
 

Static Public Member Functions

template<class T >
static const T * GetDataUnsafe (const UnifiedVectorFormat &format)
 
template<class T >
static const T * GetData (const UnifiedVectorFormat &format)
 
template<class T >
static T * GetDataNoConst (UnifiedVectorFormat &format)
 

Public Attributes

const SelectionVectorsel
 
data_ptr_t data
 
ValidityMask validity
 
SelectionVector owned_sel
 
PhysicalType physical_type
 

Member Function Documentation

◆ VerifyVectorType()

template<class T >
void duckdb::UnifiedVectorFormat::VerifyVectorType ( ) const
inline
10509 {
10510#ifdef DUCKDB_DEBUG_NO_SAFETY
10511 D_ASSERT(StorageTypeCompatible<T>(physical_type));
10512#else
10513 if (!StorageTypeCompatible<T>(physical_type)) {
10514 throw InternalException("Expected unified vector format of type %s, but found type %s", GetTypeId<T>(),
10515 physical_type);
10516 }
10517#endif
10518 }

◆ GetDataUnsafe()

template<class T >
static const T * duckdb::UnifiedVectorFormat::GetDataUnsafe ( const UnifiedVectorFormat format)
inlinestatic
10521 {
10522 return reinterpret_cast<const T *>(format.data);
10523 }

◆ GetData() [1/2]

template<class T >
static const T * duckdb::UnifiedVectorFormat::GetData ( const UnifiedVectorFormat format)
inlinestatic
10525 {
10526 return format.GetData<T>();
10527 }

◆ GetData() [2/2]

template<class T >
const T * duckdb::UnifiedVectorFormat::GetData ( ) const
inline
10529 {
10530 VerifyVectorType<T>();
10531 return GetDataUnsafe<T>(*this);
10532 }

◆ GetDataNoConst()

template<class T >
static T * duckdb::UnifiedVectorFormat::GetDataNoConst ( UnifiedVectorFormat format)
inlinestatic
10534 {
10535 format.VerifyVectorType<T>();
10536 return reinterpret_cast<T *>(format.data);
10537 }

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