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::SegmentTree< T, SUPPORTS_LAZY_LOADING >::BaseSegmentIterator Class Reference
Inheritance diagram for duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::BaseSegmentIterator:
Collaboration diagram for duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::BaseSegmentIterator:

Public Member Functions

 BaseSegmentIterator (const SegmentTree &tree_p, optional_ptr< SegmentNode< T > > current_p, optional_ptr< SegmentLock > lock)
 
void Next ()
 
BaseSegmentIteratoroperator++ ()
 
bool operator!= (const BaseSegmentIterator &other) const
 

Public Attributes

const SegmentTreetree
 
optional_ptr< SegmentNode< T > > current
 
optional_ptr< SegmentLocklock
 

Constructor & Destructor Documentation

◆ BaseSegmentIterator()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::BaseSegmentIterator::BaseSegmentIterator ( const SegmentTree tree_p,
optional_ptr< SegmentNode< T > >  current_p,
optional_ptr< SegmentLock lock 
)
inline
23848 : tree(tree_p), current(current_p), lock(lock) {
23849 }

Member Function Documentation

◆ Next()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
void duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::BaseSegmentIterator::Next ( )
inline
23856 {
23857 current = lock ? tree.GetNextSegment(*lock, *current) : tree.GetNextSegment(*current);
23858 }

◆ operator++()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
BaseSegmentIterator & duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::BaseSegmentIterator::operator++ ( )
inline
23860 {
23861 Next();
23862 return *this;
23863 }

◆ operator!=()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
bool duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::BaseSegmentIterator::operator!= ( const BaseSegmentIterator other) const
inline
23864 {
23865 return current != other.current;
23866 }

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