LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::detail::enumerator_iter< R > Class Template Reference

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::detail::enumerator_iter< R >:
Inheritance graph
[legend]
Collaboration diagram for llvm::detail::enumerator_iter< R >:
Collaboration graph
[legend]

Public Member Functions

 enumerator_iter (IterOfRange< R > EndIter)
 
 enumerator_iter (std::size_t Index, IterOfRange< R > Iter)
 
result_type & operator* ()
 
const result_type & operator* () const
 
enumerator_iter< R > & operator++ ()
 
bool operator== (const enumerator_iter< R > &RHS) const
 
enumerator_iter< R > & operator= (const enumerator_iter< R > &Other)
 
- Public Member Functions inherited from llvm::iterator_facade_base< enumerator_iter< R >, std::forward_iterator_tag, result_pair< R >, std::iterator_traits< IterOfRange< R > >::difference_type, std::iterator_traits< IterOfRange< R > >::pointer, std::iterator_traits< IterOfRange< R > >::reference >
enumerator_iter< R > operator+ (std::iterator_traits< IterOfRange< R > >::difference_type n) const
 
enumerator_iter< R > operator- (std::iterator_traits< IterOfRange< R > >::difference_type n) const
 
enumerator_iter< R > & operator++ ()
 
enumerator_iter< R > operator++ (int)
 
enumerator_iter< R > & operator-- ()
 
enumerator_iter< R > operator-- (int)
 
bool operator!= (const enumerator_iter< R > &RHS) const
 
bool operator> (const enumerator_iter< R > &RHS) const
 
bool operator<= (const enumerator_iter< R > &RHS) const
 
bool operator>= (const enumerator_iter< R > &RHS) const
 
std::iterator_traits< IterOfRange< R > >::pointer operator-> ()
 
std::iterator_traits< IterOfRange< R > >::pointer operator-> () const
 
ReferenceProxy operator[] (std::iterator_traits< IterOfRange< R > >::difference_type n)
 
ReferenceProxy operator[] (std::iterator_traits< IterOfRange< R > >::difference_type n) const
 

Additional Inherited Members

- Protected Types inherited from llvm::iterator_facade_base< enumerator_iter< R >, std::forward_iterator_tag, result_pair< R >, std::iterator_traits< IterOfRange< R > >::difference_type, std::iterator_traits< IterOfRange< R > >::pointer, std::iterator_traits< IterOfRange< R > >::reference >
enum  
 

Detailed Description

template<typename R>
class llvm::detail::enumerator_iter< R >

Definition at line 1013 of file STLExtras.h.

Constructor & Destructor Documentation

◆ enumerator_iter() [1/2]

template<typename R>
llvm::detail::enumerator_iter< R >::enumerator_iter ( IterOfRange< R >  EndIter)
inlineexplicit

Definition at line 1047 of file STLExtras.h.

◆ enumerator_iter() [2/2]

template<typename R>
llvm::detail::enumerator_iter< R >::enumerator_iter ( std::size_t  Index,
IterOfRange< R >  Iter 
)
inline

Definition at line 1050 of file STLExtras.h.

Member Function Documentation

◆ operator*() [1/2]

template<typename R>
result_type& llvm::detail::enumerator_iter< R >::operator* ( )
inline

Definition at line 1053 of file STLExtras.h.

◆ operator*() [2/2]

template<typename R>
const result_type& llvm::detail::enumerator_iter< R >::operator* ( ) const
inline

Definition at line 1054 of file STLExtras.h.

◆ operator++()

template<typename R>
enumerator_iter<R>& llvm::detail::enumerator_iter< R >::operator++ ( )
inline

Definition at line 1056 of file STLExtras.h.

References assert(), and llvm::max().

◆ operator=()

template<typename R>
enumerator_iter<R>& llvm::detail::enumerator_iter< R >::operator= ( const enumerator_iter< R > &  Other)
inline

Definition at line 1070 of file STLExtras.h.

◆ operator==()

template<typename R>
bool llvm::detail::enumerator_iter< R >::operator== ( const enumerator_iter< R > &  RHS) const
inline

Definition at line 1063 of file STLExtras.h.


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