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

Static Public Member Functions

template<typename T = void>
static std::enable_if< is_atomic< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_atomic< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< std::is_arithmetic< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< std::is_arithmetic< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_unique_ptr< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_unique_ptr< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_optional_ptr< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_optional_ptr< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_optionally_owned_ptr< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_optionally_owned_ptr< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_shared_ptr< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_shared_ptr< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_vector< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_vector< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_queue< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_queue< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_unsafe_vector< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_unsafe_vector< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_unordered_set< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_unordered_set< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_unordered_map< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_unordered_map< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_map< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_map< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< is_insertion_preserving_map< T >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< is_insertion_preserving_map< T >::value, T >::type &value)
template<typename T = void>
static std::enable_if< std::is_same< T, string >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< std::is_same< T, string >::value, T >::type &value)
template<typename T = void>
static std::enable_if< std::is_same< T, optional_idx >::value, T >::type GetDefault ()
template<typename T = void>
static bool IsDefault (const typename std::enable_if< std::is_same< T, optional_idx >::value, T >::type &value)

Member Function Documentation

◆ GetDefault() [1/15]

template<typename T = void>
std::enable_if< is_atomic< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44802 {
44803 using INNER = typename is_atomic<T>::TYPE;
44804 return static_cast<T>(GetDefault<INNER>());
44805 }

◆ IsDefault() [1/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_atomic< T >::value, T >::type & value)
inlinestatic
44808 {
44809 using INNER = typename is_atomic<T>::TYPE;
44810 return value == GetDefault<INNER>();
44811 }

◆ GetDefault() [2/15]

template<typename T = void>
std::enable_if< std::is_arithmetic< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44814 {
44815 return static_cast<T>(0);
44816 }

◆ IsDefault() [2/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< std::is_arithmetic< T >::value, T >::type & value)
inlinestatic
44819 {
44820 return value == static_cast<T>(0);
44821 }

◆ GetDefault() [3/15]

template<typename T = void>
std::enable_if< is_unique_ptr< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44824 {
44825 return T();
44826 }

◆ IsDefault() [3/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_unique_ptr< T >::value, T >::type & value)
inlinestatic
44829 {
44830 return !value;
44831 }

◆ GetDefault() [4/15]

template<typename T = void>
std::enable_if< is_optional_ptr< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44834 {
44835 return T();
44836 }

◆ IsDefault() [4/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_optional_ptr< T >::value, T >::type & value)
inlinestatic
44839 {
44840 return !value;
44841 }

◆ GetDefault() [5/15]

template<typename T = void>
std::enable_if< is_optionally_owned_ptr< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44844 {
44845 return T();
44846 }

◆ IsDefault() [5/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_optionally_owned_ptr< T >::value, T >::type & value)
inlinestatic
44849 {
44850 return !value;
44851 }

◆ GetDefault() [6/15]

template<typename T = void>
std::enable_if< is_shared_ptr< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44854 {
44855 return T();
44856 }

◆ IsDefault() [6/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_shared_ptr< T >::value, T >::type & value)
inlinestatic
44859 {
44860 return !value;
44861 }

◆ GetDefault() [7/15]

template<typename T = void>
std::enable_if< is_vector< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44864 {
44865 return T();
44866 }

◆ IsDefault() [7/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_vector< T >::value, T >::type & value)
inlinestatic
44869 {
44870 return value.empty();
44871 }

◆ GetDefault() [8/15]

template<typename T = void>
std::enable_if< is_queue< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44874 {
44875 return T();
44876 }

◆ IsDefault() [8/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_queue< T >::value, T >::type & value)
inlinestatic
44879 {
44880 return value.empty();
44881 }

◆ GetDefault() [9/15]

template<typename T = void>
std::enable_if< is_unsafe_vector< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44884 {
44885 return T();
44886 }

◆ IsDefault() [9/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_unsafe_vector< T >::value, T >::type & value)
inlinestatic
44889 {
44890 return value.empty();
44891 }

◆ GetDefault() [10/15]

template<typename T = void>
std::enable_if< is_unordered_set< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44894 {
44895 return T();
44896 }

◆ IsDefault() [10/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_unordered_set< T >::value, T >::type & value)
inlinestatic
44899 {
44900 return value.empty();
44901 }

◆ GetDefault() [11/15]

template<typename T = void>
std::enable_if< is_unordered_map< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44904 {
44905 return T();
44906 }

◆ IsDefault() [11/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_unordered_map< T >::value, T >::type & value)
inlinestatic
44909 {
44910 return value.empty();
44911 }

◆ GetDefault() [12/15]

template<typename T = void>
std::enable_if< is_map< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44914 {
44915 return T();
44916 }

◆ IsDefault() [12/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_map< T >::value, T >::type & value)
inlinestatic
44919 {
44920 return value.empty();
44921 }

◆ GetDefault() [13/15]

template<typename T = void>
std::enable_if< is_insertion_preserving_map< T >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44924 {
44925 return T();
44926 }

◆ IsDefault() [13/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< is_insertion_preserving_map< T >::value, T >::type & value)
inlinestatic
44929 {
44930 return value.empty();
44931 }

◆ GetDefault() [14/15]

template<typename T = void>
std::enable_if< std::is_same< T, string >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44934 {
44935 return T();
44936 }

◆ IsDefault() [14/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< std::is_same< T, string >::value, T >::type & value)
inlinestatic
44939 {
44940 return value.empty();
44941 }

◆ GetDefault() [15/15]

template<typename T = void>
std::enable_if< std::is_same< T, optional_idx >::value, T >::type duckdb::SerializationDefaultValue::GetDefault ( )
inlinestatic
44944 {
44945 return optional_idx();
44946 }

◆ IsDefault() [15/15]

template<typename T = void>
bool duckdb::SerializationDefaultValue::IsDefault ( const typename std::enable_if< std::is_same< T, optional_idx >::value, T >::type & value)
inlinestatic
44949 {
44950 return !value.IsValid();
44951 }

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