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::DependencyFlags Struct Referenceabstract
Inheritance diagram for duckdb::DependencyFlags:

Public Member Functions

 DependencyFlags (const DependencyFlags &other)
 
DependencyFlagsoperator= (const DependencyFlags &other)
 
bool operator== (const DependencyFlags &other) const
 
bool operator!= (const DependencyFlags &other) const
 
virtual string ToString () const =0
 

Protected Member Functions

template<uint8_t BIT>
bool IsSet () const
 
template<uint8_t BIT>
void Set ()
 
void Merge (uint8_t other)
 
uint8_t Value ()
 

Private Attributes

uint8_t value
 

Constructor & Destructor Documentation

◆ DependencyFlags() [1/2]

duckdb::DependencyFlags::DependencyFlags ( )
inline
27766 : value(0) {
27767 }

◆ DependencyFlags() [2/2]

duckdb::DependencyFlags::DependencyFlags ( const DependencyFlags other)
inline
27768 : value(other.value) {
27769 }

Member Function Documentation

◆ operator=()

DependencyFlags & duckdb::DependencyFlags::operator= ( const DependencyFlags other)
inline
27771 {
27772 value = other.value;
27773 return *this;
27774 }

◆ operator==()

bool duckdb::DependencyFlags::operator== ( const DependencyFlags other) const
inline
27775 {
27776 return other.value == value;
27777 }

◆ operator!=()

bool duckdb::DependencyFlags::operator!= ( const DependencyFlags other) const
inline
27778 {
27779 return !(*this == other);
27780 }

◆ IsSet()

template<uint8_t BIT>
bool duckdb::DependencyFlags::IsSet ( ) const
inlineprotected
27787 {
27788 static const uint8_t FLAG = (1 << BIT);
27789 return (value & FLAG) == FLAG;
27790 }
::uint8_t uint8_t
@ BIT
Boolean as 1 bit, LSB bit-packed ordering.

◆ Set()

template<uint8_t BIT>
void duckdb::DependencyFlags::Set ( )
inlineprotected
27792 {
27793 static const uint8_t FLAG = (1 << BIT);
27794 value |= FLAG;
27795 }

◆ Merge()

void duckdb::DependencyFlags::Merge ( uint8_t  other)
inlineprotected
27796 {
27797 value |= other;
27798 }

◆ Value()

uint8_t duckdb::DependencyFlags::Value ( )
inlineprotected
27799 {
27800 return value;
27801 }

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