LLVM 22.0.0git
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 >:
[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< T, typename std::iterator_traits< T::TreeTy::iterator >::value_type >::value, typename std::iterator_traits< T::TreeTy::iterator >::reference, T & > 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
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
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 840 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 847 of file ImmutableSet.h.

Member Function Documentation

◆ operator*()

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

Definition at line 850 of file ImmutableSet.h.


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