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

Static Public Member Functions

static DUCKDB_API LogicalType GetTargetType (const LogicalType &type)
static DUCKDB_API idx_t GetCastScore (const LogicalType &type)

Member Function Documentation

◆ GetTargetType()

LogicalType duckdb::AnyType::GetTargetType ( const LogicalType & type)
static
140877 {
140878 D_ASSERT(type.id() == LogicalTypeId::ANY);
140879 auto info = type.AuxInfo();
140880 if (!info) {
140881 return LogicalType::ANY;
140882 }
140883 return info->Cast<AnyTypeInfo>().target_type;
140884}

◆ GetCastScore()

idx_t duckdb::AnyType::GetCastScore ( const LogicalType & type)
static
140886 {
140887 D_ASSERT(type.id() == LogicalTypeId::ANY);
140888 auto info = type.AuxInfo();
140889 if (!info) {
140890 return 5;
140891 }
140892 return info->Cast<AnyTypeInfo>().cast_score;
140893}

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