LLVM 20.0.0git
Public Member Functions | List of all members
llvm::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 "llvm/ADT/SmallSet.h"

Inheritance diagram for llvm::SmallSetIterator< T, N, C >:
Inheritance graph
[legend]

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 Toperator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >
SmallSetIterator< T, N, Coperator+ (std::ptrdiff_t n) const
 
SmallSetIterator< T, N, Coperator- (std::ptrdiff_t n) const
 
SmallSetIterator< T, N, C > & operator++ ()
 
SmallSetIterator< T, N, Coperator++ (int)
 
SmallSetIterator< T, N, C > & operator-- ()
 
SmallSetIterator< T, N, Coperator-- (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 llvm::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 llvm::iterator_facade_base< SmallSetIterator< T, N, C >, std::forward_iterator_tag, T >
enum  
 

Detailed Description

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

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

Definition at line 34 of file SmallSet.h.

Constructor & Destructor Documentation

◆ SmallSetIterator() [1/4]

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

Definition at line 52 of file SmallSet.h.

◆ SmallSetIterator() [2/4]

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

Definition at line 54 of file SmallSet.h.

◆ ~SmallSetIterator()

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

◆ SmallSetIterator() [3/4]

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

◆ SmallSetIterator() [4/4]

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

Member Function Documentation

◆ operator*()

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

◆ operator++()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==()

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

◆ VecIter

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

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