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

Public Member Functions

template<>
duckdb::string_t Operation (duckdb::string_t input, Vector &vector)
template<>
string_t Operation (string_t input, Vector &vector)

Static Public Member Functions

template<class SRC>
static string_t Operation (SRC input, Vector &result)

Member Function Documentation

◆ Operation() [1/2]

template<class SRC>
string_t duckdb::CastFromBitToString::Operation ( SRC input,
Vector & result )
inlinestatic
32151 {
32152 throw duckdb::NotImplementedException("Cast from bit could not be performed!");
32153 }

◆ Operation() [2/2]

template<>
string_t duckdb::CastFromBitToString::Operation ( string_t input,
Vector & vector )
90045 {
90046 idx_t result_size = Bit::BitLength(input);
90047 string_t result = StringVector::EmptyString(vector, result_size);
90048 Bit::ToString(input, result.GetDataWriteable());
90049 result.Finalize();
90050
90051 return result;
90052}
static DUCKDB_API idx_t BitLength(bitstring_t bits)
Returns the number of bits in the bit string.
Definition duckdb.cpp:112914
static DUCKDB_API void ToString(bitstring_t bits, char *output)
Definition duckdb.cpp:112748
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
static DUCKDB_API string_t EmptyString(Vector &vector, idx_t len)
Definition duckdb.cpp:137942

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