_GLIBCXX_STD::_List_const_iterator< _Tp > Struct Template Reference

A list::const_iterator. More...

#include <stl_list.h>

List of all members.

Public Types

typedef _List_const_iterator<
_Tp > 
_Self
typedef const _List_node<
_Tp > 
_Node
typedef _List_iterator< _Tp > iterator
typedef ptrdiff_t difference_type
typedef std::bidirectional_iterator_tag iterator_category
typedef _Tp value_type
typedef const _Tp * pointer
typedef const _Tp & reference

Public Member Functions

 _List_const_iterator ()
 _List_const_iterator (const _List_node_base *__x)
 _List_const_iterator (const iterator &__x)
reference operator * () const
pointer operator-> () const
_Selfoperator++ ()
_Self operator++ (int)
_Selfoperator-- ()
_Self operator-- (int)
bool operator== (const _Self &__x) const
bool operator!= (const _Self &__x) const

Public Attributes

const _List_node_base_M_node


Detailed Description

template<typename _Tp>
struct _GLIBCXX_STD::_List_const_iterator< _Tp >

A list::const_iterator.

Definition at line 188 of file stl_list.h.


Member Typedef Documentation

template<typename _Tp>
typedef const _List_node<_Tp> _GLIBCXX_STD::_List_const_iterator< _Tp >::_Node

Definition at line 191 of file stl_list.h.

template<typename _Tp>
typedef _List_const_iterator<_Tp> _GLIBCXX_STD::_List_const_iterator< _Tp >::_Self

Definition at line 190 of file stl_list.h.

template<typename _Tp>
typedef ptrdiff_t _GLIBCXX_STD::_List_const_iterator< _Tp >::difference_type

Definition at line 194 of file stl_list.h.

template<typename _Tp>
typedef _List_iterator<_Tp> _GLIBCXX_STD::_List_const_iterator< _Tp >::iterator

Definition at line 192 of file stl_list.h.

template<typename _Tp>
typedef std::bidirectional_iterator_tag _GLIBCXX_STD::_List_const_iterator< _Tp >::iterator_category

Definition at line 195 of file stl_list.h.

template<typename _Tp>
typedef const _Tp* _GLIBCXX_STD::_List_const_iterator< _Tp >::pointer

Definition at line 197 of file stl_list.h.

template<typename _Tp>
typedef const _Tp& _GLIBCXX_STD::_List_const_iterator< _Tp >::reference

Definition at line 198 of file stl_list.h.

template<typename _Tp>
typedef _Tp _GLIBCXX_STD::_List_const_iterator< _Tp >::value_type

Definition at line 196 of file stl_list.h.


Constructor & Destructor Documentation

template<typename _Tp>
_GLIBCXX_STD::_List_const_iterator< _Tp >::_List_const_iterator (  )  [inline]

Definition at line 200 of file stl_list.h.

template<typename _Tp>
_GLIBCXX_STD::_List_const_iterator< _Tp >::_List_const_iterator ( const _List_node_base __x  )  [inline, explicit]

Definition at line 204 of file stl_list.h.

template<typename _Tp>
_GLIBCXX_STD::_List_const_iterator< _Tp >::_List_const_iterator ( const iterator __x  )  [inline]

Definition at line 207 of file stl_list.h.


Member Function Documentation

template<typename _Tp>
reference _GLIBCXX_STD::_List_const_iterator< _Tp >::operator * (  )  const [inline]

Definition at line 213 of file stl_list.h.

References _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node.

template<typename _Tp>
bool _GLIBCXX_STD::_List_const_iterator< _Tp >::operator!= ( const _Self __x  )  const [inline]

Definition at line 255 of file stl_list.h.

References _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node.

template<typename _Tp>
_Self _GLIBCXX_STD::_List_const_iterator< _Tp >::operator++ ( int   )  [inline]

Definition at line 228 of file stl_list.h.

References _GLIBCXX_STD::_List_node_base::_M_next, and _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node.

template<typename _Tp>
_Self& _GLIBCXX_STD::_List_const_iterator< _Tp >::operator++ (  )  [inline]

Definition at line 221 of file stl_list.h.

References _GLIBCXX_STD::_List_node_base::_M_next, and _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node.

template<typename _Tp>
_Self _GLIBCXX_STD::_List_const_iterator< _Tp >::operator-- ( int   )  [inline]

Definition at line 243 of file stl_list.h.

References _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node, and _GLIBCXX_STD::_List_node_base::_M_prev.

template<typename _Tp>
_Self& _GLIBCXX_STD::_List_const_iterator< _Tp >::operator-- (  )  [inline]

Definition at line 236 of file stl_list.h.

References _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node, and _GLIBCXX_STD::_List_node_base::_M_prev.

template<typename _Tp>
pointer _GLIBCXX_STD::_List_const_iterator< _Tp >::operator-> (  )  const [inline]

Definition at line 217 of file stl_list.h.

References _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node.

template<typename _Tp>
bool _GLIBCXX_STD::_List_const_iterator< _Tp >::operator== ( const _Self __x  )  const [inline]

Definition at line 251 of file stl_list.h.

References _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node.


Member Data Documentation

template<typename _Tp>
const _List_node_base* _GLIBCXX_STD::_List_const_iterator< _Tp >::_M_node

Definition at line 259 of file stl_list.h.

Referenced by _GLIBCXX_STD::_List_const_iterator< _Tp >::operator *(), _GLIBCXX_STD::operator!=(), _GLIBCXX_STD::_List_const_iterator< _Tp >::operator!=(), _GLIBCXX_STD::_List_const_iterator< _Tp >::operator++(), _GLIBCXX_STD::_List_const_iterator< _Tp >::operator--(), _GLIBCXX_STD::_List_const_iterator< _Tp >::operator->(), _GLIBCXX_STD::operator==(), and _GLIBCXX_STD::_List_const_iterator< _Tp >::operator==().


The documentation for this struct was generated from the following file:
Generated on Tue Feb 2 16:58:21 2010 for GNU C++ STL by  doxygen 1.4.7