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::ValueOrNull< T, NULLS_LAST > Struct Template Reference
Collaboration diagram for duckdb::ValueOrNull< T, NULLS_LAST >:

Public Member Functions

bool operator== (const ValueOrNull &other) const
bool operator> (const ValueOrNull &other) const

Public Attributes

T value
bool is_valid

Member Function Documentation

◆ operator==()

template<class T, bool NULLS_LAST>
bool duckdb::ValueOrNull< T, NULLS_LAST >::operator== ( const ValueOrNull< T, NULLS_LAST > & other) const
inline
210143 {
210144 return is_valid == other.is_valid && value == other.value;
210145 }
Definition duckdb.cpp:210139

◆ operator>()

template<class T, bool NULLS_LAST>
bool duckdb::ValueOrNull< T, NULLS_LAST >::operator> ( const ValueOrNull< T, NULLS_LAST > & other) const
inline
210147 {
210148 if (is_valid && other.is_valid) {
210149 return value > other.value;
210150 }
210151 if (!is_valid && !other.is_valid) {
210152 return false;
210153 }
210154
210155 return is_valid ^ NULLS_LAST;
210156 }

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