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

Return value of a Secret Lookup. More...

Collaboration diagram for duckdb::SecretMatch:

Public Member Functions

 SecretMatch (const SecretMatch &other)
 SecretMatch (SecretEntry &secret_entry, int64_t score)
SecretMatch & operator= (const SecretMatch &other)
const BaseSecret & GetSecret () const
 Get the secret.
bool HasMatch ()

Public Attributes

unique_ptr< SecretEntry > secret_entry
int64_t score

Detailed Description

Return value of a Secret Lookup.

Constructor & Destructor Documentation

◆ SecretMatch() [1/3]

duckdb::SecretMatch::SecretMatch ( )
inline
177820 : secret_entry(nullptr), score(NumericLimits<int64_t>::Minimum()) {
177821 }

◆ SecretMatch() [2/3]

duckdb::SecretMatch::SecretMatch ( const SecretMatch & other)
inline
177824 : secret_entry((other.secret_entry != nullptr) ? make_uniq<SecretEntry>(*other.secret_entry) : nullptr),
177825 score(other.score) {
177826 }

◆ SecretMatch() [3/3]

duckdb::SecretMatch::SecretMatch ( SecretEntry & secret_entry,
int64_t score )
inline
177829 : secret_entry(make_uniq<SecretEntry>(secret_entry)), score(score) {
177830 }

Member Function Documentation

◆ operator=()

SecretMatch & duckdb::SecretMatch::operator= ( const SecretMatch & other)
inline
177832 {
177833 this->secret_entry = (other.secret_entry != nullptr) ? make_uniq<SecretEntry>(*other.secret_entry) : nullptr;
177834 this->score = other.score;
177835 return *this;
177836 };

◆ GetSecret()

const BaseSecret & duckdb::SecretMatch::GetSecret ( ) const

Get the secret.

300173 {
300174 return *secret_entry->secret;
300175}
Here is the caller graph for this function:

◆ HasMatch()

bool duckdb::SecretMatch::HasMatch ( )
inline
177841 {
177842 return secret_entry != nullptr;
177843 }

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