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

Classes

class  SegmentIterator
 

Public Member Functions

 SegmentNodeIterationHelper (const SegmentTree &tree)
 
 SegmentNodeIterationHelper (const SegmentTree &tree, SegmentLock &l)
 
SegmentIterator begin ()
 
SegmentIterator end ()
 

Private Attributes

const SegmentTreetree
 
optional_ptr< SegmentLocklock
 

Constructor & Destructor Documentation

◆ SegmentNodeIterationHelper() [1/2]

template<class T , bool SUPPORTS_LAZY_LOADING = false>
duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentNodeIterationHelper::SegmentNodeIterationHelper ( const SegmentTree tree)
inlineexplicit
23903 : tree(tree) {
23904 }

◆ SegmentNodeIterationHelper() [2/2]

template<class T , bool SUPPORTS_LAZY_LOADING = false>
duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentNodeIterationHelper::SegmentNodeIterationHelper ( const SegmentTree tree,
SegmentLock l 
)
inline
23905 : tree(tree), lock(l) {
23906 }

Member Function Documentation

◆ begin()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
SegmentIterator duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentNodeIterationHelper::begin ( )
inline
23926 { // NOLINT: match stl API
23927 auto root = lock ? tree.GetRootSegment(*lock) : tree.GetRootSegment();
23928 return SegmentIterator(tree, root, lock);
23929 }

◆ end()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
SegmentIterator duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentNodeIterationHelper::end ( )
inline
23930 { // NOLINT: match stl API
23931 return SegmentIterator(tree, nullptr, lock);
23932 }

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