Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::reverse_iterator Class Template Reference

#include <stl_iterator.h>

List of all members.

Public Types

typedef iterator_traits<_Iterator>::iterator_category iterator_category
typedef iterator_traits<_Iterator>::value_type value_type
typedef iterator_traits<_Iterator>::difference_type difference_type
typedef iterator_traits<_Iterator>::pointer pointer
typedef iterator_traits<_Iterator>::reference reference
typedef _Iterator iterator_type
typedef reverse_iterator<_Iterator> _Self

Public Methods

 reverse_iterator ()
 reverse_iterator (iterator_type __x)
 reverse_iterator (const _Self &__x)
template<class _Iter>  reverse_iterator (const reverse_iterator< _Iter > &__x)
iterator_type base () const
reference operator * () const
pointer operator-> () const
_Selfoperator++ ()
_Self operator++ (int)
_Selfoperator-- ()
_Self operator-- (int)
_Self operator+ (difference_type __n) const
_Selfoperator+= (difference_type __n)
_Self operator- (difference_type __n) const
_Selfoperator-= (difference_type __n)
reference operator[] (difference_type __n) const

Protected Attributes

_Iterator current

template<class _Iterator> class std::reverse_iterator


Member Typedef Documentation

template<class _Iterator>
typedef reverse_iterator<_Iterator> std::reverse_iterator<_Iterator>::_Self
 

Definition at line 211 of file stl_iterator.h.

Referenced by operator+(), and operator-().

template<class _Iterator>
typedef iterator_traits<_Iterator>::difference_type std::reverse_iterator<_Iterator>::difference_type
 

Definition at line 204 of file stl_iterator.h.

template<class _Iterator>
typedef iterator_traits<_Iterator>::iterator_category std::reverse_iterator<_Iterator>::iterator_category
 

Definition at line 200 of file stl_iterator.h.

template<class _Iterator>
typedef _Iterator std::reverse_iterator<_Iterator>::iterator_type
 

Definition at line 210 of file stl_iterator.h.

template<class _Iterator>
typedef iterator_traits<_Iterator>::pointer std::reverse_iterator<_Iterator>::pointer
 

Definition at line 206 of file stl_iterator.h.

template<class _Iterator>
typedef iterator_traits<_Iterator>::reference std::reverse_iterator<_Iterator>::reference
 

Definition at line 208 of file stl_iterator.h.

template<class _Iterator>
typedef iterator_traits<_Iterator>::value_type std::reverse_iterator<_Iterator>::value_type
 

Definition at line 202 of file stl_iterator.h.


Constructor & Destructor Documentation

template<class _Iterator>
std::reverse_iterator<_Iterator>::reverse_iterator<_Iterator> ( ) [inline]
 

Definition at line 214 of file stl_iterator.h.

template<class _Iterator>
std::reverse_iterator<_Iterator>::reverse_iterator<_Iterator> ( iterator_type __x ) [inline, explicit]
 

Definition at line 215 of file stl_iterator.h.

template<class _Iterator>
std::reverse_iterator<_Iterator>::reverse_iterator<_Iterator> ( const _Self & __x ) [inline]
 

Definition at line 217 of file stl_iterator.h.

template<class _Iterator>
template<class _Iter>
std::reverse_iterator<_Iterator>::reverse_iterator<_Iterator> ( const reverse_iterator< _Iter > & __x ) [inline]
 

Definition at line 219 of file stl_iterator.h.


Member Function Documentation

template<class _Iterator>
iterator_type std::reverse_iterator<_Iterator>::base ( ) const [inline]
 

Definition at line 222 of file stl_iterator.h.

template<class _Iterator>
reference std::reverse_iterator<_Iterator>::operator * ( ) const [inline]
 

Definition at line 223 of file stl_iterator.h.

Referenced by operator->().

template<class _Iterator>
_Self std::reverse_iterator<_Iterator>::operator+ ( difference_type __n ) const [inline]
 

Definition at line 248 of file stl_iterator.h.

template<class _Iterator>
_Self std::reverse_iterator<_Iterator>::operator++ ( int ) [inline]
 

Definition at line 233 of file stl_iterator.h.

template<class _Iterator>
_Self & std::reverse_iterator<_Iterator>::operator++ ( ) [inline]
 

Definition at line 229 of file stl_iterator.h.

template<class _Iterator>
_Self & std::reverse_iterator<_Iterator>::operator+= ( difference_type __n ) [inline]
 

Definition at line 251 of file stl_iterator.h.

template<class _Iterator>
_Self std::reverse_iterator<_Iterator>::operator- ( difference_type __n ) const [inline]
 

Definition at line 255 of file stl_iterator.h.

template<class _Iterator>
_Self std::reverse_iterator<_Iterator>::operator-- ( int ) [inline]
 

Definition at line 242 of file stl_iterator.h.

template<class _Iterator>
_Self & std::reverse_iterator<_Iterator>::operator-- ( ) [inline]
 

Definition at line 238 of file stl_iterator.h.

template<class _Iterator>
_Self & std::reverse_iterator<_Iterator>::operator-= ( difference_type __n ) [inline]
 

Definition at line 258 of file stl_iterator.h.

template<class _Iterator>
pointer std::reverse_iterator<_Iterator>::operator-> ( ) const [inline]
 

Definition at line 227 of file stl_iterator.h.

template<class _Iterator>
reference std::reverse_iterator<_Iterator>::operator[] ( difference_type __n ) const [inline]
 

Definition at line 262 of file stl_iterator.h.


Member Data Documentation

template<class _Iterator>
_Iterator std::reverse_iterator<_Iterator>::current [protected]
 

Definition at line 197 of file stl_iterator.h.


The documentation for this class was generated from the following file:
Generated at Tue May 1 16:30:29 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001