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

Public Types

enum class  Type : uint8_t { SUCCESS , INDEX_ZERO , COMPONENT_NOT_FOUND }

Public Member Functions

bool Success () const

Static Public Member Functions

static VariantChildDataCollectionResult IndexZero ()
static VariantChildDataCollectionResult NotFound (idx_t nested_index)

Public Attributes

Type type
idx_t nested_data_index

Private Member Functions

 VariantChildDataCollectionResult (Type type, idx_t index=DConstants::INVALID_INDEX)

Member Enumeration Documentation

◆ Type

enum class duckdb::VariantChildDataCollectionResult::Type : uint8_t
strong
131652: uint8_t { SUCCESS, INDEX_ZERO, COMPONENT_NOT_FOUND };
::uint8_t uint8_t

Constructor & Destructor Documentation

◆ VariantChildDataCollectionResult() [1/2]

duckdb::VariantChildDataCollectionResult::VariantChildDataCollectionResult ( )
inline
131655 : type(Type::SUCCESS) {
131656 }

◆ VariantChildDataCollectionResult() [2/2]

duckdb::VariantChildDataCollectionResult::VariantChildDataCollectionResult ( Type type,
idx_t index = DConstants::INVALID_INDEX )
inlineexplicitprivate
131673 : type(type), nested_data_index(index) {
131674 }

Member Function Documentation

◆ IndexZero()

VariantChildDataCollectionResult duckdb::VariantChildDataCollectionResult::IndexZero ( )
inlinestatic
131659 {
131660 return VariantChildDataCollectionResult(Type::INDEX_ZERO);
131661 }

◆ NotFound()

VariantChildDataCollectionResult duckdb::VariantChildDataCollectionResult::NotFound ( idx_t nested_index)
inlinestatic
131662 {
131663 return VariantChildDataCollectionResult(Type::COMPONENT_NOT_FOUND, nested_index);
131664 }

◆ Success()

bool duckdb::VariantChildDataCollectionResult::Success ( ) const
inline
131667 {
131668 return type == Type::SUCCESS;
131669 }

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