STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
_List_unchecked_iterator< _Mylist > Class Template Reference
Inheritance diagram for _List_unchecked_iterator< _Mylist >:
_List_unchecked_const_iterator< _Mylist > _Iterator012< bidirectional_iterator_tag, _Mylist::value_type, _Mylist::difference_type, _Mylist::const_pointer, _Mylist::const_reference, _Base >

Public Types

typedef _List_unchecked_iterator< _Mylist > _Myiter
 
typedef _List_unchecked_const_iterator< _Mylist > _Mybase
 
typedef bidirectional_iterator_tag iterator_category
 
typedef _Mylist::_Nodeptr _Nodeptr
 
typedef _Mylist::value_type value_type
 
typedef _Mylist::difference_type difference_type
 
typedef _Mylist::pointer pointer
 
typedef _Mylist::reference reference
 
- Public Types inherited from _List_unchecked_const_iterator< _Mylist >
typedef _List_unchecked_const_iterator< _Mylist, _Base_Myiter
 
typedef bidirectional_iterator_tag iterator_category
 
typedef _Mylist::_Nodeptr _Nodeptr
 
typedef _Mylist::value_type value_type
 
typedef _Mylist::difference_type difference_type
 
typedef _Mylist::const_pointer pointer
 
typedef _Mylist::const_reference reference
 
- Public Types inherited from _Iterator012< bidirectional_iterator_tag, _Mylist::value_type, _Mylist::difference_type, _Mylist::const_pointer, _Mylist::const_reference, _Base >
typedef bidirectional_iterator_tag iterator_category
 
typedef _Mylist::value_type value_type
 
typedef _Mylist::difference_type difference_type
 
typedef _Mylist::const_pointer pointer
 
typedef _Mylist::const_reference reference
 

Public Member Functions

 _List_unchecked_iterator ()
 
 _List_unchecked_iterator (_Nodeptr _Pnode, const _Mylist *_Plist)
 
reference operator* () const
 
pointer operator-> () const
 
_Myiteroperator++ ()
 
_Myiter operator++ (int)
 
_Myiteroperator-- ()
 
_Myiter operator-- (int)
 
- Public Member Functions inherited from _List_unchecked_const_iterator< _Mylist >
 _List_unchecked_const_iterator ()
 
 _List_unchecked_const_iterator (_Nodeptr _Pnode, const _Mylist *_Plist)
 
reference operator* () const
 
pointer operator-> () const
 
_Myiteroperator++ ()
 
_Myiter operator++ (int)
 
_Myiteroperator-- ()
 
_Myiter operator-- (int)
 
bool operator== (const _Myiter &_Right) const
 
bool operator!= (const _Myiter &_Right) const
 
_Nodeptr _Mynode () const
 

Additional Inherited Members

- Public Attributes inherited from _List_unchecked_const_iterator< _Mylist >
_Nodeptr _Ptr
 

Member Typedef Documentation

template<class _Mylist >
typedef _List_unchecked_const_iterator<_Mylist> _List_unchecked_iterator< _Mylist >::_Mybase
template<class _Mylist >
typedef _List_unchecked_iterator<_Mylist> _List_unchecked_iterator< _Mylist >::_Myiter
template<class _Mylist >
typedef _Mylist::_Nodeptr _List_unchecked_iterator< _Mylist >::_Nodeptr
template<class _Mylist >
typedef _Mylist::difference_type _List_unchecked_iterator< _Mylist >::difference_type
template<class _Mylist >
typedef bidirectional_iterator_tag _List_unchecked_iterator< _Mylist >::iterator_category
template<class _Mylist >
typedef _Mylist::pointer _List_unchecked_iterator< _Mylist >::pointer
template<class _Mylist >
typedef _Mylist::reference _List_unchecked_iterator< _Mylist >::reference
template<class _Mylist >
typedef _Mylist::value_type _List_unchecked_iterator< _Mylist >::value_type

Constructor & Destructor Documentation

template<class _Mylist >
_List_unchecked_iterator< _Mylist >::_List_unchecked_iterator ( )
inline
119  { // construct with null node
120  }
template<class _Mylist >
_List_unchecked_iterator< _Mylist >::_List_unchecked_iterator ( _Nodeptr  _Pnode,
const _Mylist *  _Plist 
)
inline
123  : _Mybase(_Pnode, _Plist)
124  { // construct with node pointer _Pnode
125  }
_List_unchecked_const_iterator< _Mylist > _Mybase
Definition: list:109

Member Function Documentation

template<class _Mylist >
reference _List_unchecked_iterator< _Mylist >::operator* ( ) const
inline
128  { // return designated value
129  return ((reference)**(_Mybase *)this);
130  }
_List_unchecked_const_iterator< _Mylist > _Mybase
Definition: list:109
_Mylist::reference reference
Definition: list:116
template<class _Mylist >
_Myiter& _List_unchecked_iterator< _Mylist >::operator++ ( )
inline
138  { // preincrement
139  ++(*(_Mybase *)this);
140  return (*this);
141  }
_List_unchecked_const_iterator< _Mylist > _Mybase
Definition: list:109
template<class _Mylist >
_Myiter _List_unchecked_iterator< _Mylist >::operator++ ( int  )
inline
144  { // postincrement
145  _Myiter _Tmp = *this;
146  ++*this;
147  return (_Tmp);
148  }
_List_unchecked_iterator< _Mylist > _Myiter
Definition: list:108
template<class _Mylist >
_Myiter& _List_unchecked_iterator< _Mylist >::operator-- ( )
inline
151  { // predecrement
152  --(*(_Mybase *)this);
153  return (*this);
154  }
_List_unchecked_const_iterator< _Mylist > _Mybase
Definition: list:109
template<class _Mylist >
_Myiter _List_unchecked_iterator< _Mylist >::operator-- ( int  )
inline
157  { // postdecrement
158  _Myiter _Tmp = *this;
159  --*this;
160  return (_Tmp);
161  }
_List_unchecked_iterator< _Mylist > _Myiter
Definition: list:108
template<class _Mylist >
pointer _List_unchecked_iterator< _Mylist >::operator-> ( ) const
inline
133  { // return pointer to class object
134  return (pointer_traits<pointer>::pointer_to(**this));
135  }
Definition: xmemory0:254

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