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

Public Types

typedef _Flist_unchecked_iterator< _Mylist > _Myiter
 
typedef _Flist_unchecked_const_iterator< _Mylist > _Mybase
 
typedef forward_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 _Flist_unchecked_const_iterator< _Mylist >
typedef _Flist_unchecked_const_iterator< _Mylist, _Base_Myiter
 
typedef forward_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< forward_iterator_tag, _Mylist::value_type, _Mylist::difference_type, _Mylist::const_pointer, _Mylist::const_reference, _Base >
typedef forward_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

 _Flist_unchecked_iterator ()
 
 _Flist_unchecked_iterator (_Nodeptr _Pnode, const _Mylist *_Plist)
 
reference operator* () const
 
pointer operator-> () const
 
_Myiteroperator++ ()
 
_Myiter operator++ (int)
 
- Public Member Functions inherited from _Flist_unchecked_const_iterator< _Mylist >
 _Flist_unchecked_const_iterator ()
 
 _Flist_unchecked_const_iterator (_Nodeptr _Pnode, const _Mylist *_Plist)
 
reference operator* () const
 
pointer operator-> () const
 
_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 _Flist_unchecked_const_iterator< _Mylist >
_Nodeptr _Ptr
 

Member Typedef Documentation

template<class _Mylist >
typedef _Flist_unchecked_const_iterator<_Mylist> _Flist_unchecked_iterator< _Mylist >::_Mybase
template<class _Mylist >
typedef _Flist_unchecked_iterator<_Mylist> _Flist_unchecked_iterator< _Mylist >::_Myiter
template<class _Mylist >
typedef _Mylist::_Nodeptr _Flist_unchecked_iterator< _Mylist >::_Nodeptr
template<class _Mylist >
typedef _Mylist::difference_type _Flist_unchecked_iterator< _Mylist >::difference_type
template<class _Mylist >
typedef forward_iterator_tag _Flist_unchecked_iterator< _Mylist >::iterator_category
template<class _Mylist >
typedef _Mylist::pointer _Flist_unchecked_iterator< _Mylist >::pointer
template<class _Mylist >
typedef _Mylist::reference _Flist_unchecked_iterator< _Mylist >::reference
template<class _Mylist >
typedef _Mylist::value_type _Flist_unchecked_iterator< _Mylist >::value_type

Constructor & Destructor Documentation

template<class _Mylist >
_Flist_unchecked_iterator< _Mylist >::_Flist_unchecked_iterator ( )
inline
106  { // construct with null node
107  }
template<class _Mylist >
_Flist_unchecked_iterator< _Mylist >::_Flist_unchecked_iterator ( _Nodeptr  _Pnode,
const _Mylist *  _Plist 
)
inline
110  : _Mybase(_Pnode, _Plist)
111  { // construct with node pointer _Pnode
112  }
_Flist_unchecked_const_iterator< _Mylist > _Mybase
Definition: forward_list:96

Member Function Documentation

template<class _Mylist >
reference _Flist_unchecked_iterator< _Mylist >::operator* ( ) const
inline
115  { // return designated value
116  return ((reference)**(_Mybase *)this);
117  }
_Flist_unchecked_const_iterator< _Mylist > _Mybase
Definition: forward_list:96
_Mylist::reference reference
Definition: forward_list:103
template<class _Mylist >
_Myiter& _Flist_unchecked_iterator< _Mylist >::operator++ ( )
inline
125  { // preincrement
126  ++(*(_Mybase *)this);
127  return (*this);
128  }
_Flist_unchecked_const_iterator< _Mylist > _Mybase
Definition: forward_list:96
template<class _Mylist >
_Myiter _Flist_unchecked_iterator< _Mylist >::operator++ ( int  )
inline
131  { // postincrement
132  _Myiter _Tmp = *this;
133  ++*this;
134  return (_Tmp);
135  }
_Flist_unchecked_iterator< _Mylist > _Myiter
Definition: forward_list:95
template<class _Mylist >
pointer _Flist_unchecked_iterator< _Mylist >::operator-> ( ) const
inline
120  { // return pointer to class object
121  return (pointer_traits<pointer>::pointer_to(**this));
122  }
Definition: xmemory0:254

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