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

Classes

class  SegmentIterator
 

Public Member Functions

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

Private Attributes

const SegmentTreetree
 
optional_ptr< SegmentLocklock
 

Constructor & Destructor Documentation

◆ SegmentIterationHelper() [1/2]

template<class T , bool SUPPORTS_LAZY_LOADING = false>
duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentIterationHelper::SegmentIterationHelper ( const SegmentTree tree)
inlineexplicit
23870 : tree(tree) {
23871 }

◆ SegmentIterationHelper() [2/2]

template<class T , bool SUPPORTS_LAZY_LOADING = false>
duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentIterationHelper::SegmentIterationHelper ( const SegmentTree tree,
SegmentLock l 
)
inline
23872 : tree(tree), lock(l) {
23873 }

Member Function Documentation

◆ begin()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
SegmentIterator duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentIterationHelper::begin ( )
inline
23893 { // NOLINT: match stl API
23894 auto root = lock ? tree.GetRootSegment(*lock) : tree.GetRootSegment();
23895 return SegmentIterator(tree, root, lock);
23896 }

◆ end()

template<class T , bool SUPPORTS_LAZY_LOADING = false>
SegmentIterator duckdb::SegmentTree< T, SUPPORTS_LAZY_LOADING >::SegmentIterationHelper::end ( )
inline
23897 { // NOLINT: match stl API
23898 return SegmentIterator(tree, nullptr, lock);
23899 }

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