LLDB mainline
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
lldb_private::AdaptedConstIterator< C, E, A > Class Template Reference

#include <Iterable.h>

Public Types

typedef C::const_iterator BackingIterator
 

Public Member Functions

 AdaptedConstIterator (BackingIterator backing_iterator)
 
 AdaptedConstIterator ()
 
 AdaptedConstIterator (const AdaptedConstIterator &rhs)
 
AdaptedConstIteratoroperator= (const AdaptedConstIterator &rhs)
 
 ~AdaptedConstIterator ()=default
 
bool operator== (const AdaptedConstIterator &rhs)
 
bool operator!= (const AdaptedConstIterator &rhs)
 
operator* ()
 
operator-> ()
 
operator[] (typename BackingIterator::difference_type offset)
 
AdaptedConstIteratoroperator++ ()
 
AdaptedConstIteratoroperator-- ()
 
AdaptedConstIteratoroperator+= (typename BackingIterator::difference_type offset)
 
AdaptedConstIteratoroperator-= (typename BackingIterator::difference_type offset)
 
AdaptedConstIterator operator+ (typename BackingIterator::difference_type offset)
 
AdaptedConstIterator operator- (typename BackingIterator::difference_type offset)
 
bool operator< (AdaptedConstIterator &rhs)
 
bool operator<= (AdaptedConstIterator &rhs)
 
bool operator> (AdaptedConstIterator &rhs)
 
bool operator>= (AdaptedConstIterator &rhs)
 

Private Attributes

BackingIterator m_iter
 

Friends

template<typename C1 , typename E1 , E1(*)(typename C1::const_iterator &) A1>
AdaptedConstIterator< C1, E1, A1 > operator+ (typename C1::const_iterator::difference_type, AdaptedConstIterator< C1, E1, A1 > &)
 
template<typename C1 , typename E1 , E1(*)(typename C1::const_iterator &) A1>
C1::const_iterator::difference_type operator- (AdaptedConstIterator< C1, E1, A1 > &, AdaptedConstIterator< C1, E1, A1 > &)
 
template<typename C1 , typename E1 , E1(*)(typename C1::const_iterator &) A1>
void swap (AdaptedConstIterator< C1, E1, A1 > &, AdaptedConstIterator< C1, E1, A1 > &)
 

Detailed Description

template<typename C, typename E, E(*)(typename C::const_iterator &) A>
class lldb_private::AdaptedConstIterator< C, E, A >

Definition at line 26 of file Iterable.h.

Member Typedef Documentation

◆ BackingIterator

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
typedef C::const_iterator lldb_private::AdaptedConstIterator< C, E, A >::BackingIterator

Definition at line 28 of file Iterable.h.

Constructor & Destructor Documentation

◆ AdaptedConstIterator() [1/3]

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
lldb_private::AdaptedConstIterator< C, E, A >::AdaptedConstIterator ( BackingIterator  backing_iterator)
inline

Definition at line 31 of file Iterable.h.

◆ AdaptedConstIterator() [2/3]

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
lldb_private::AdaptedConstIterator< C, E, A >::AdaptedConstIterator ( )
inline

◆ AdaptedConstIterator() [3/3]

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
lldb_private::AdaptedConstIterator< C, E, A >::AdaptedConstIterator ( const AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 38 of file Iterable.h.

◆ ~AdaptedConstIterator()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
lldb_private::AdaptedConstIterator< C, E, A >::~AdaptedConstIterator ( )
default

Member Function Documentation

◆ operator!=()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
bool lldb_private::AdaptedConstIterator< C, E, A >::operator!= ( const AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 54 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator*()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
E lldb_private::AdaptedConstIterator< C, E, A >::operator* ( )
inline

Definition at line 59 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator+()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
AdaptedConstIterator lldb_private::AdaptedConstIterator< C, E, A >::operator+ ( typename BackingIterator::difference_type  offset)
inline

◆ operator++()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
AdaptedConstIterator & lldb_private::AdaptedConstIterator< C, E, A >::operator++ ( )
inline

Definition at line 69 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator+=()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
AdaptedConstIterator & lldb_private::AdaptedConstIterator< C, E, A >::operator+= ( typename BackingIterator::difference_type  offset)
inline

Definition at line 82 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator-()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
AdaptedConstIterator lldb_private::AdaptedConstIterator< C, E, A >::operator- ( typename BackingIterator::difference_type  offset)
inline

◆ operator--()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
AdaptedConstIterator & lldb_private::AdaptedConstIterator< C, E, A >::operator-- ( )
inline

Definition at line 75 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator-=()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
AdaptedConstIterator & lldb_private::AdaptedConstIterator< C, E, A >::operator-= ( typename BackingIterator::difference_type  offset)
inline

Definition at line 88 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator->()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
E lldb_private::AdaptedConstIterator< C, E, A >::operator-> ( )
inline

Definition at line 61 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator<()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
bool lldb_private::AdaptedConstIterator< C, E, A >::operator< ( AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 105 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator<=()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
bool lldb_private::AdaptedConstIterator< C, E, A >::operator<= ( AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 107 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator=()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
AdaptedConstIterator & lldb_private::AdaptedConstIterator< C, E, A >::operator= ( const AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 41 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator==()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
bool lldb_private::AdaptedConstIterator< C, E, A >::operator== ( const AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 50 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator>()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
bool lldb_private::AdaptedConstIterator< C, E, A >::operator> ( AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 109 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator>=()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
bool lldb_private::AdaptedConstIterator< C, E, A >::operator>= ( AdaptedConstIterator< C, E, A > &  rhs)
inline

Definition at line 111 of file Iterable.h.

References lldb_private::AdaptedConstIterator< C, E, A >::m_iter.

◆ operator[]()

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
E lldb_private::AdaptedConstIterator< C, E, A >::operator[] ( typename BackingIterator::difference_type  offset)
inline

Friends And Related Function Documentation

◆ operator+

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
template<typename C1 , typename E1 , E1(*)(typename C1::const_iterator &) A1>
AdaptedConstIterator< C1, E1, A1 > operator+ ( typename C1::const_iterator::difference_type  ,
AdaptedConstIterator< C1, E1, A1 > &   
)
friend

◆ operator-

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
template<typename C1 , typename E1 , E1(*)(typename C1::const_iterator &) A1>
C1::const_iterator::difference_type operator- ( AdaptedConstIterator< C1, E1, A1 > &  ,
AdaptedConstIterator< C1, E1, A1 > &   
)
friend

◆ swap

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
template<typename C1 , typename E1 , E1(*)(typename C1::const_iterator &) A1>
void swap ( AdaptedConstIterator< C1, E1, A1 > &  ,
AdaptedConstIterator< C1, E1, A1 > &   
)
friend

Member Data Documentation

◆ m_iter

template<typename C , typename E , E(*)(typename C::const_iterator &) A>
BackingIterator lldb_private::AdaptedConstIterator< C, E, A >::m_iter
private

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