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

Static Public Member Functions

static unique_ptr< FunctionData > Bind (Value value)
static bool IsConstantOrNull (BoundFunctionExpression &expr, const Value &val)

Member Function Documentation

◆ Bind()

unique_ptr< FunctionData > duckdb::ConstantOrNull::Bind ( Value value)
static
226268 {
226269 return make_uniq<ConstantOrNullBindData>(std::move(value));
226270}

◆ IsConstantOrNull()

bool duckdb::ConstantOrNull::IsConstantOrNull ( BoundFunctionExpression & expr,
const Value & val )
static
226272 {
226273 if (expr.function.name != "constant_or_null") {
226274 return false;
226275 }
226276 D_ASSERT(expr.bind_info);
226277 auto &bind_data = expr.bind_info->Cast<ConstantOrNullBindData>();
226278 D_ASSERT(bind_data.value.type() == val.type());
226279 return bind_data.value == val;
226280}

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