WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
wpi::util::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 <wpi/util/SmallSet.hpp>

Inheritance diagram for wpi::util::SmallSetIterator< T, N, C >:
wpi::util::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::util::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-- ()
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::util::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >
using iterator_category
using value_type
using difference_type
using pointer
using reference
Protected Types inherited from wpi::util::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >
enum  

Detailed Description

template<typename T, unsigned N, typename C>
class wpi::util::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::util::SmallSetIterator< T, N, C >::SmallSetIterator ( SetIterTy SetIter)
inline

◆ SmallSetIterator() [2/4]

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

◆ ~SmallSetIterator()

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

◆ SmallSetIterator() [3/4]

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

◆ SmallSetIterator() [4/4]

template<typename T, unsigned N, typename C>
wpi::util::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::util::SmallSetIterator< T, N, C >::operator* ( ) const
inline

◆ operator++()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

template<typename T, unsigned N, typename C>
bool wpi::util::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::util::SmallSetIterator< T, N, C >::SetIter

◆ VecIter

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

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