WPILibC++ 2024.3.2
wpi::SmallSetIterator< T, N, C > Class Template Reference

SmallSetIterator - This class implements a const_iterator for SmallSet by delegating to the underlying SmallVector or Set iterators. More...

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

Inheritance diagram for wpi::SmallSetIterator< T, N, C >:
wpi::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >

Public Member Functions

 SmallSetIterator (SetIterTy SetIter)
 
 SmallSetIterator (VecIterTy VecIter)
 
 ~SmallSetIterator ()
 
 SmallSetIterator (const SmallSetIterator &Other)
 
 SmallSetIterator (SmallSetIterator &&Other)
 
SmallSetIteratoroperator= (const SmallSetIterator &Other)
 
SmallSetIteratoroperator= (SmallSetIterator &&Other)
 
bool operator== (const SmallSetIterator &RHS) const
 
SmallSetIteratoroperator++ ()
 
const T & operator* () const
 
- Public Member Functions inherited from wpi::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >
SmallSetIterator< T, N, C > operator+ (std::ptrdiff_t n) const
 
SmallSetIterator< T, N, C > operator- (std::ptrdiff_t n) const
 
SmallSetIterator< T, N, C > & operator++ ()
 
SmallSetIterator< T, N, C > operator++ (int)
 
SmallSetIterator< T, N, C > & operator-- ()
 
SmallSetIterator< T, N, C > operator-- (int)
 
bool operator!= (const SmallSetIterator< T, N, C > &RHS) const
 
bool operator> (const SmallSetIterator< T, N, C > &RHS) const
 
bool operator<= (const SmallSetIterator< T, N, C > &RHS) const
 
bool operator>= (const SmallSetIterator< T, N, C > &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Additional Inherited Members

- Public Types inherited from wpi::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >
using iterator_category = std::forward_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = T *
 
using reference = T &
 
- Protected Types inherited from wpi::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >
enum  
 

Detailed Description

template<typename T, unsigned N, typename C>
class wpi::SmallSetIterator< T, N, C >

SmallSetIterator - This class implements a const_iterator for SmallSet by delegating to the underlying SmallVector or Set iterators.

Constructor & Destructor Documentation

◆ SmallSetIterator() [1/4]

template<typename T , unsigned N, typename C >
wpi::SmallSetIterator< T, N, C >::SmallSetIterator ( SetIterTy  SetIter)
inline

◆ SmallSetIterator() [2/4]

template<typename T , unsigned N, typename C >
wpi::SmallSetIterator< T, N, C >::SmallSetIterator ( VecIterTy  VecIter)
inline

◆ ~SmallSetIterator()

template<typename T , unsigned N, typename C >
wpi::SmallSetIterator< T, N, C >::~SmallSetIterator ( )
inline

◆ SmallSetIterator() [3/4]

template<typename T , unsigned N, typename C >
wpi::SmallSetIterator< T, N, C >::SmallSetIterator ( const SmallSetIterator< T, N, C > &  Other)
inline

◆ SmallSetIterator() [4/4]

template<typename T , unsigned N, typename C >
wpi::SmallSetIterator< T, N, C >::SmallSetIterator ( SmallSetIterator< T, N, C > &&  Other)
inline

Member Function Documentation

◆ operator*()

template<typename T , unsigned N, typename C >
const T & wpi::SmallSetIterator< T, N, C >::operator* ( ) const
inline

◆ operator++()

template<typename T , unsigned N, typename C >
SmallSetIterator & wpi::SmallSetIterator< T, N, C >::operator++ ( )
inline

◆ operator=() [1/2]

template<typename T , unsigned N, typename C >
SmallSetIterator & wpi::SmallSetIterator< T, N, C >::operator= ( const SmallSetIterator< T, N, C > &  Other)
inline

◆ operator=() [2/2]

template<typename T , unsigned N, typename C >
SmallSetIterator & wpi::SmallSetIterator< T, N, C >::operator= ( SmallSetIterator< T, N, C > &&  Other)
inline

◆ operator==()

template<typename T , unsigned N, typename C >
bool wpi::SmallSetIterator< T, N, C >::operator== ( const SmallSetIterator< T, N, C > &  RHS) const
inline

Member Data Documentation

◆ SetIter

template<typename T , unsigned N, typename C >
SetIterTy wpi::SmallSetIterator< T, N, C >::SetIter

◆ VecIter

template<typename T , unsigned N, typename C >
VecIterTy wpi::SmallSetIterator< T, N, C >::VecIter

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