ReactOS  0.4.15-dev-3207-ga415bd4
reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM > Class Template Reference

#include <_iterator_old.h>

Public Types

typedef bidirectional_iterator_tag iterator_category
 
typedef _Tp value_type
 
typedef _Distance difference_type
 
typedef _Tp * pointer
 
typedef _Reference reference
 

Public Member Functions

 reverse_bidirectional_iterator ()
 
 reverse_bidirectional_iterator (_BidirectionalIterator __x)
 
_BidirectionalIterator base () const
 
_Reference operator * () const
 
_STLP_DEFINE_ARROW_OPERATOR _Selfoperator++ ()
 
_Self operator++ (int)
 
_Selfoperator-- ()
 
_Self operator-- (int)
 

Protected Attributes

_BidirectionalIterator current
 

Private Types

typedef reverse_bidirectional_iterator< _BidirectionalIterator, _Tp, Reference__, _Distance > _Self
 

Detailed Description

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &), #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
class reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >

Definition at line 64 of file _iterator_old.h.

Member Typedef Documentation

◆ _Self

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
typedef reverse_bidirectional_iterator<_BidirectionalIterator, _Tp, Reference__, _Distance> reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::_Self
private

Definition at line 66 of file _iterator_old.h.

◆ difference_type

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
typedef _Distance reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::difference_type

Definition at line 73 of file _iterator_old.h.

◆ iterator_category

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
typedef bidirectional_iterator_tag reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::iterator_category

Definition at line 71 of file _iterator_old.h.

◆ pointer

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
typedef _Tp* reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::pointer

Definition at line 77 of file _iterator_old.h.

◆ reference

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
typedef _Reference reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::reference

Definition at line 79 of file _iterator_old.h.

◆ value_type

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
typedef _Tp reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::value_type

Definition at line 72 of file _iterator_old.h.

Constructor & Destructor Documentation

◆ reverse_bidirectional_iterator() [1/2]

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::reverse_bidirectional_iterator ( )
inline

Definition at line 81 of file _iterator_old.h.

81 {}

◆ reverse_bidirectional_iterator() [2/2]

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::reverse_bidirectional_iterator ( _BidirectionalIterator  __x)
inlineexplicit

Definition at line 82 of file _iterator_old.h.

83  : current(__x) {}
_BidirectionalIterator current
Definition: _iterator_old.h:69

Member Function Documentation

◆ base()

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
_BidirectionalIterator reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::base ( ) const
inline

Definition at line 84 of file _iterator_old.h.

84 { return current; }
_BidirectionalIterator current
Definition: _iterator_old.h:69

◆ operator *()

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
_Reference reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::operator * ( ) const
inline

Definition at line 85 of file _iterator_old.h.

85  {
86  _BidirectionalIterator __tmp = current;
87  return *(--__tmp);
88  }
_BidirectionalIterator current
Definition: _iterator_old.h:69

◆ operator++() [1/2]

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
_STLP_DEFINE_ARROW_OPERATOR _Self& reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::operator++ ( )
inline

Definition at line 92 of file _iterator_old.h.

92  {
93  --current;
94  return *this;
95  }
_BidirectionalIterator current
Definition: _iterator_old.h:69

◆ operator++() [2/2]

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
_Self reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::operator++ ( int  )
inline

Definition at line 96 of file _iterator_old.h.

96  {
97  _Self __tmp = *this;
98  --current;
99  return __tmp;
100  }
reverse_bidirectional_iterator< _BidirectionalIterator, _Tp, Reference__, _Distance > _Self
Definition: _iterator_old.h:66
_BidirectionalIterator current
Definition: _iterator_old.h:69

◆ operator--() [1/2]

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
_Self& reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::operator-- ( )
inline

Definition at line 101 of file _iterator_old.h.

101  {
102  ++current;
103  return *this;
104  }
_BidirectionalIterator current
Definition: _iterator_old.h:69

◆ operator--() [2/2]

template<class _BidirectionalIterator, class _Tp, _STLP_DFL_TMPL_PARAM(_Reference, _Tp &) , #define __Reference #define Reference__ _STLP_DFL_TYPE_PARAM>
_Self reverse_bidirectional_iterator< _BidirectionalIterator, _Tp,, _STLP_DFL_TYPE_PARAM >::operator-- ( int  )
inline

Definition at line 105 of file _iterator_old.h.

105  {
106  _Self __tmp = *this;
107  ++current;
108  return __tmp;
109  }
reverse_bidirectional_iterator< _BidirectionalIterator, _Tp, Reference__, _Distance > _Self
Definition: _iterator_old.h:66
_BidirectionalIterator current
Definition: _iterator_old.h:69

Member Data Documentation

◆ current


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