WPILibC++ 2023.4.3
wpi::SmallPtrSetIterator< PtrTy > Class Template Reference

SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet. More...

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/SmallPtrSet.h>

Inheritance diagram for wpi::SmallPtrSetIterator< PtrTy >:
wpi::SmallPtrSetIteratorImpl wpi::DebugEpochBase::HandleBase

Public Types

using value_type = PtrTy
 
using reference = PtrTy
 
using pointer = PtrTy
 
using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 SmallPtrSetIterator (const void *const *BP, const void *const *E, const DebugEpochBase &Epoch)
 
const PtrTy operator* () const
 
SmallPtrSetIteratoroperator++ ()
 
SmallPtrSetIterator operator++ (int)
 
- Public Member Functions inherited from wpi::SmallPtrSetIteratorImpl
 SmallPtrSetIteratorImpl (const void *const *BP, const void *const *E)
 
bool operator== (const SmallPtrSetIteratorImpl &RHS) const
 
bool operator!= (const SmallPtrSetIteratorImpl &RHS) const
 

Additional Inherited Members

- Protected Member Functions inherited from wpi::SmallPtrSetIteratorImpl
void AdvanceIfNotValid ()
 AdvanceIfNotValid - If the current bucket isn't valid, advance to a bucket that is. More...
 
void RetreatIfNotValid ()
 
- Protected Attributes inherited from wpi::SmallPtrSetIteratorImpl
const void *const * Bucket
 
const void *const * End
 

Detailed Description

template<typename PtrTy>
class wpi::SmallPtrSetIterator< PtrTy >

SmallPtrSetIterator - This implements a const_iterator for SmallPtrSet.

Member Typedef Documentation

◆ difference_type

template<typename PtrTy >
using wpi::SmallPtrSetIterator< PtrTy >::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename PtrTy >
using wpi::SmallPtrSetIterator< PtrTy >::iterator_category = std::forward_iterator_tag

◆ pointer

template<typename PtrTy >
using wpi::SmallPtrSetIterator< PtrTy >::pointer = PtrTy

◆ reference

template<typename PtrTy >
using wpi::SmallPtrSetIterator< PtrTy >::reference = PtrTy

◆ value_type

template<typename PtrTy >
using wpi::SmallPtrSetIterator< PtrTy >::value_type = PtrTy

Constructor & Destructor Documentation

◆ SmallPtrSetIterator()

template<typename PtrTy >
wpi::SmallPtrSetIterator< PtrTy >::SmallPtrSetIterator ( const void *const *  BP,
const void *const *  E,
const DebugEpochBase Epoch 
)
inlineexplicit

Member Function Documentation

◆ operator*()

template<typename PtrTy >
const PtrTy wpi::SmallPtrSetIterator< PtrTy >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename PtrTy >
SmallPtrSetIterator & wpi::SmallPtrSetIterator< PtrTy >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename PtrTy >
SmallPtrSetIterator wpi::SmallPtrSetIterator< PtrTy >::operator++ ( int  )
inline

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