LLVM 19.0.0git
Public Member Functions | List of all members
llvm::ImutAVLValueIterator< T > Struct Template Reference

Generic iterator that wraps a T::TreeTy::iterator and exposes iterator::getValue() on dereference. More...

#include "llvm/ADT/ImmutableSet.h"

Inheritance diagram for llvm::ImutAVLValueIterator< T >:
Inheritance graph
[legend]

Public Member Functions

 ImutAVLValueIterator ()=default
 
 ImutAVLValueIterator (typename T::TreeTy *Tree)
 
ImutAVLValueIterator::reference operator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< ImutAVLValueIterator< T >, T::TreeTy::iterator, std::iterator_traits< T::TreeTy::iterator >::iterator_category, const T::value_type >
ImutAVLValueIterator< T > & operator+= (difference_type n)
 
ImutAVLValueIterator< T > & operator-= (difference_type n)
 
difference_type operator- (const ImutAVLValueIterator< T > &RHS) const
 
ImutAVLValueIterator< T > & operator++ ()
 
ImutAVLValueIterator< T > & operator-- ()
 
std::conditional_t< std::is_same< const T::value_type, typename std::iterator_traits< T::TreeTy::iterator >::value_type >::value, typename std::iterator_traits< T::TreeTy::iterator >::reference, const T::value_type & > operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
 
DerivedT operator- (DifferenceTypeT n) const
 
DerivedT & operator++ ()
 
DerivedT operator++ (int)
 
DerivedT & operator-- ()
 
DerivedT operator-- (int)
 
bool operator!= (const DerivedT &RHS) const
 
bool operator> (const DerivedT &RHS) const
 
bool operator<= (const DerivedT &RHS) const
 
bool operator>= (const DerivedT &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< ImutAVLValueIterator< T >, T::TreeTy::iterator, std::iterator_traits< T::TreeTy::iterator >::iterator_category, const T::value_type >
using difference_type = typename std::iterator_traits< T::TreeTy::iterator >::difference_type
 
- Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using iterator_category = IteratorCategoryT
 
using value_type = T
 
using difference_type = DifferenceTypeT
 
using pointer = PointerT
 
using reference = ReferenceT
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< ImutAVLValueIterator< T >, T::TreeTy::iterator, std::iterator_traits< T::TreeTy::iterator >::iterator_category, const T::value_type >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (T::TreeTy::iterator u)
 
const T::TreeTy::iterator & wrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< ImutAVLValueIterator< T >, T::TreeTy::iterator, std::iterator_traits< T::TreeTy::iterator >::iterator_category, const T::value_type >
T::TreeTy::iterator I
 

Detailed Description

template<typename T>
struct llvm::ImutAVLValueIterator< T >

Generic iterator that wraps a T::TreeTy::iterator and exposes iterator::getValue() on dereference.

Definition at line 815 of file ImmutableSet.h.

Constructor & Destructor Documentation

◆ ImutAVLValueIterator() [1/2]

template<typename T >
llvm::ImutAVLValueIterator< T >::ImutAVLValueIterator ( )
default

◆ ImutAVLValueIterator() [2/2]

template<typename T >
llvm::ImutAVLValueIterator< T >::ImutAVLValueIterator ( typename T::TreeTy *  Tree)
inlineexplicit

Definition at line 822 of file ImmutableSet.h.

Member Function Documentation

◆ operator*()

template<typename T >
ImutAVLValueIterator::reference llvm::ImutAVLValueIterator< T >::operator* ( ) const
inline

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