LLVM  8.0.1
Public Types | Public Member Functions | List of all members
llvm::ImutAVLTreeGenericIterator< ImutInfo > Class Template Reference

#include "llvm/ADT/ImmutableSet.h"

Inheritance diagram for llvm::ImutAVLTreeGenericIterator< ImutInfo >:
Inheritance graph
[legend]
Collaboration diagram for llvm::ImutAVLTreeGenericIterator< ImutInfo >:
Collaboration graph
[legend]

Public Types

enum  VisitFlag { VisitedNone =0x0, VisitedLeft =0x1, VisitedRight =0x3, Flags =0x3 }
 
using TreeTy = ImutAVLTree< ImutInfo >
 

Public Member Functions

 ImutAVLTreeGenericIterator ()=default
 
 ImutAVLTreeGenericIterator (const TreeTy *Root)
 
TreeTyoperator* () const
 
TreeTyoperator-> () const
 
uintptr_t getVisitState () const
 
bool atEnd () const
 
bool atBeginning () const
 
void skipToParent ()
 
bool operator== (const ImutAVLTreeGenericIterator &x) const
 
bool operator!= (const ImutAVLTreeGenericIterator &x) const
 
ImutAVLTreeGenericIteratoroperator++ ()
 
ImutAVLTreeGenericIteratoroperator-- ()
 

Detailed Description

template<typename ImutInfo>
class llvm::ImutAVLTreeGenericIterator< ImutInfo >

Definition at line 39 of file ImmutableSet.h.

Member Typedef Documentation

◆ TreeTy

template<typename ImutInfo >
using llvm::ImutAVLTreeGenericIterator< ImutInfo >::TreeTy = ImutAVLTree<ImutInfo>

Definition at line 659 of file ImmutableSet.h.

Member Enumeration Documentation

◆ VisitFlag

template<typename ImutInfo >
enum llvm::ImutAVLTreeGenericIterator::VisitFlag
Enumerator
VisitedNone 
VisitedLeft 
VisitedRight 
Flags 

Definition at line 656 of file ImmutableSet.h.

Constructor & Destructor Documentation

◆ ImutAVLTreeGenericIterator() [1/2]

template<typename ImutInfo >
llvm::ImutAVLTreeGenericIterator< ImutInfo >::ImutAVLTreeGenericIterator ( )
default

◆ ImutAVLTreeGenericIterator() [2/2]

template<typename ImutInfo >
llvm::ImutAVLTreeGenericIterator< ImutInfo >::ImutAVLTreeGenericIterator ( const TreeTy Root)
inline

Member Function Documentation

◆ atBeginning()

template<typename ImutInfo >
bool llvm::ImutAVLTreeGenericIterator< ImutInfo >::atBeginning ( ) const
inline

Definition at line 679 of file ImmutableSet.h.

References llvm::SmallVectorBase::size().

◆ atEnd()

template<typename ImutInfo >
bool llvm::ImutAVLTreeGenericIterator< ImutInfo >::atEnd ( ) const
inline

Definition at line 677 of file ImmutableSet.h.

References llvm::SmallVectorBase::empty().

◆ getVisitState()

template<typename ImutInfo >
uintptr_t llvm::ImutAVLTreeGenericIterator< ImutInfo >::getVisitState ( ) const
inline

◆ operator!=()

template<typename ImutInfo >
bool llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator!= ( const ImutAVLTreeGenericIterator< ImutInfo > &  x) const
inline

Definition at line 704 of file ImmutableSet.h.

◆ operator*()

template<typename ImutInfo >
TreeTy& llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator* ( ) const
inline

◆ operator++()

template<typename ImutInfo >
ImutAVLTreeGenericIterator& llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator++ ( )
inline

◆ operator--()

template<typename ImutInfo >
ImutAVLTreeGenericIterator& llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator-- ( )
inline

◆ operator->()

template<typename ImutInfo >
TreeTy* llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator-> ( ) const
inline

Definition at line 670 of file ImmutableSet.h.

◆ operator==()

template<typename ImutInfo >
bool llvm::ImutAVLTreeGenericIterator< ImutInfo >::operator== ( const ImutAVLTreeGenericIterator< ImutInfo > &  x) const
inline

Definition at line 700 of file ImmutableSet.h.

◆ skipToParent()

template<typename ImutInfo >
void llvm::ImutAVLTreeGenericIterator< ImutInfo >::skipToParent ( )
inline

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