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::BoundConstraint Class Referenceabstract

Bound equivalent of Constraint. More...

Inheritance diagram for duckdb::BoundConstraint:

Public Member Functions

 BoundConstraint (ConstraintType type)
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 
virtual unique_ptr< BoundConstraintCopy () const =0
 

Public Attributes

ConstraintType type
 

Detailed Description

Bound equivalent of Constraint.

Constructor & Destructor Documentation

◆ BoundConstraint()

duckdb::BoundConstraint::BoundConstraint ( ConstraintType  type)
inlineexplicit
1764: type(type) {};

◆ ~BoundConstraint()

virtual duckdb::BoundConstraint::~BoundConstraint ( )
inlinevirtual
1765 {
1766 }

Member Function Documentation

◆ Cast() [1/2]

template<class TARGET >
TARGET & duckdb::BoundConstraint::Cast ( )
inline
1772 {
1773 if (type != TARGET::TYPE) {
1774 throw InternalException("Failed to cast constraint to type - bound constraint type mismatch");
1775 }
1776 return reinterpret_cast<TARGET &>(*this);
1777 }

◆ Cast() [2/2]

template<class TARGET >
const TARGET & duckdb::BoundConstraint::Cast ( ) const
inline
1780 {
1781 if (type != TARGET::TYPE) {
1782 throw InternalException("Failed to cast constraint to type - bound constraint type mismatch");
1783 }
1784 return reinterpret_cast<const TARGET &>(*this);
1785 }

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