__gnu_cxx::normal_iterator< Iterator, Container > Class Template Reference

Inheritance diagram for __gnu_cxx::normal_iterator< Iterator, Container >:

Inheritance graph
[legend]
Collaboration diagram for __gnu_cxx::normal_iterator< Iterator, Container >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef iterator_traits< Iterator
>::difference_type 
difference_type
 Distance between iterators is represented as this type.
typedef iterator_traits< Iterator
>::reference 
reference
 This type represents a reference-to-value_type.
typedef iterator_traits< Iterator
>::pointer 
pointer
 This type represents a pointer-to-value_type.
typedef Category iterator_category
 One of the tag types.
typedef Type value_type
 The type "pointed to" by the iterator.

Public Member Functions

 normal_iterator ()
 normal_iterator (const Iterator &__i)
template<typename Iter>
 normal_iterator (const normal_iterator< Iter, Container > &__i)
reference operator * () const
pointer operator-> () const
normal_iteratoroperator++ ()
normal_iterator operator++ (int)
normal_iteratoroperator-- ()
normal_iterator operator-- (int)
reference operator[] (const difference_type &n) const
normal_iteratoroperator+= (const difference_type &n)
normal_iterator operator+ (const difference_type &n) const
normal_iteratoroperator-= (const difference_type &n)
normal_iterator operator- (const difference_type &n) const
const Iterator & base () const

Protected Attributes

Iterator M_current

Detailed Description

template<typename Iterator, typename Container>
class __gnu_cxx::normal_iterator< Iterator, Container >

Definition at line 574 of file stl_iterator.h.


Member Typedef Documentation

template<typename Iterator, typename Container>
typedef iterator_traits<Iterator>::difference_type __gnu_cxx::normal_iterator< Iterator, Container >::difference_type

Distance between iterators is represented as this type.

Reimplemented from std::iterator< Category, Type, Distance, Pointer, Reference >.

Definition at line 586 of file stl_iterator.h.

template<typename Iterator, typename Container>
typedef iterator_traits<Iterator>::reference __gnu_cxx::normal_iterator< Iterator, Container >::reference

This type represents a reference-to-value_type.

Reimplemented from std::iterator< Category, Type, Distance, Pointer, Reference >.

Definition at line 587 of file stl_iterator.h.

template<typename Iterator, typename Container>
typedef iterator_traits<Iterator>::pointer __gnu_cxx::normal_iterator< Iterator, Container >::pointer

This type represents a pointer-to-value_type.

Reimplemented from std::iterator< Category, Type, Distance, Pointer, Reference >.

Definition at line 588 of file stl_iterator.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&>
typedef Category std::iterator< Category, Type, Distance, Pointer, Reference >::iterator_category [inherited]

One of the tag types.

Definition at line 107 of file stl_iterator_base_types.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&>
typedef Type std::iterator< Category, Type, Distance, Pointer, Reference >::value_type [inherited]

The type "pointed to" by the iterator.

Reimplemented in __gnu_cxx::sequence_buffer< Sequence, Buf_sz >.

Definition at line 109 of file stl_iterator_base_types.h.


The documentation for this class was generated from the following file:
Generated on Wed Jan 3 20:19:23 2007 for libstdc++-v3 Source by  doxygen 1.5.1