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::ArrowTypeInfo Struct Reference
Inheritance diagram for duckdb::ArrowTypeInfo:

Public Member Functions

 ArrowTypeInfo (ArrowTypeInfoType type)
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Public Attributes

ArrowTypeInfoType type
 

Constructor & Destructor Documentation

◆ ArrowTypeInfo()

duckdb::ArrowTypeInfo::ArrowTypeInfo ( )
inlineexplicit
37507 : type() {
37508 }

Member Function Documentation

◆ Cast() [1/2]

template<class TARGET >
TARGET & duckdb::ArrowTypeInfo::Cast ( )
inline
37517 {
37518 D_ASSERT(dynamic_cast<TARGET *>(this));
37519 if (type != TARGET::TYPE) {
37520 throw InternalException("Failed to cast ArrowTypeInfo, type mismatch (expected: %s, got: %s)",
37521 EnumUtil::ToString(TARGET::TYPE), EnumUtil::ToString(type));
37522 }
37523 return reinterpret_cast<TARGET &>(*this);
37524 }

◆ Cast() [2/2]

template<class TARGET >
const TARGET & duckdb::ArrowTypeInfo::Cast ( ) const
inline
37526 {
37527 D_ASSERT(dynamic_cast<const TARGET *>(this));
37528 if (type != TARGET::TYPE) {
37529 throw InternalException("Failed to cast ArrowTypeInfo, type mismatch (expected: %s, got: %s)",
37530 EnumUtil::ToString(TARGET::TYPE), EnumUtil::ToString(type));
37531 }
37532 return reinterpret_cast<const TARGET &>(*this);
37533 }

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