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

Public Member Functions

template<>
DUCKDB_API bool Operation (bool input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (bool input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int8_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int16_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int32_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (int64_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (hugeint_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uhugeint_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint8_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint16_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint32_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (uint64_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (float input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (double input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, bool &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, int8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, int16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, int32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, int64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, uint8_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, uint16_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, uint32_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, uint64_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, hugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, uhugeint_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, float &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, double &result, bool strict)
 
template<>
DUCKDB_API bool Operation (date_t input, date_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (date_t input, timestamp_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (dtime_t input, dtime_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (dtime_t input, dtime_tz_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (dtime_t input, dtime_ns_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (dtime_ns_t input, dtime_ns_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (dtime_ns_t input, dtime_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (dtime_tz_t input, dtime_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (dtime_tz_t input, dtime_tz_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, date_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, dtime_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, dtime_tz_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_sec_t input, timestamp_sec_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_sec_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_ms_t input, timestamp_ms_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_ms_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_ns_t input, timestamp_ns_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_ns_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_tz_t input, timestamp_tz_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (timestamp_t input, timestamp_tz_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (interval_t input, interval_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, date_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, dtime_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, dtime_ns_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, dtime_tz_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, timestamp_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, timestamp_tz_t &result, bool strict)
 
template<>
DUCKDB_API bool Operation (string_t input, timestamp_ns_t &result, bool strict)
 

Static Public Member Functions

static ConversionException UnimplementedErrorMessage (PhysicalType source, PhysicalType target, optional_ptr< CastParameters > parameters)
 
static string UnimplementedCastMessage (const LogicalType &source, const LogicalType &target)
 
template<class SRC , class DST >
static bool Operation (SRC input, DST &result, bool strict=false)
 

Member Function Documentation

◆ Operation()

template<class SRC , class DST >
static bool duckdb::TryCast::Operation ( SRC  input,
DST result,
bool  strict = false 
)
inlinestatic
31209 {
31210 throw UnimplementedErrorMessage(GetTypeId<SRC>(), GetTypeId<DST>(), nullptr);
31211 }

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