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

Public Types

typedef _Tree_unchecked_iterator< _Mytree > _Myiter
 
typedef _Tree_unchecked_const_iterator< _Mytree > _Mybase
 
typedef bidirectional_iterator_tag iterator_category
 
typedef _Mytree::_Nodeptr _Nodeptr
 
typedef _Mytree::value_type value_type
 
typedef _Mytree::difference_type difference_type
 
typedef _Mytree::pointer pointer
 
typedef _Mytree::reference reference
 
- Public Types inherited from _Tree_unchecked_const_iterator< _Mytree >
typedef _Tree_unchecked_const_iterator< _Mytree, _Base > _Myiter
 
typedef bidirectional_iterator_tag iterator_category
 
typedef _Mytree::_Nodeptr _Nodeptr
 
typedef _Mytree::value_type value_type
 
typedef _Mytree::difference_type difference_type
 
typedef _Mytree::const_pointer pointer
 
typedef _Mytree::const_reference reference
 
- Public Types inherited from _Iterator012< bidirectional_iterator_tag, _Mytree::value_type, _Mytree::difference_type, _Mytree::const_pointer, _Mytree::const_reference, _Base >
typedef bidirectional_iterator_tag iterator_category
 
typedef _Mytree::value_type value_type
 
typedef _Mytree::difference_type difference_type
 
typedef _Mytree::difference_type distance_type
 
typedef _Mytree::const_pointer pointer
 
typedef _Mytree::const_reference reference
 

Public Member Functions

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

Member Typedef Documentation

template<class _Mytree >
typedef _Tree_unchecked_const_iterator<_Mytree> _Tree_unchecked_iterator< _Mytree >::_Mybase
template<class _Mytree >
typedef _Tree_unchecked_iterator<_Mytree> _Tree_unchecked_iterator< _Mytree >::_Myiter
template<class _Mytree >
typedef _Mytree::_Nodeptr _Tree_unchecked_iterator< _Mytree >::_Nodeptr
template<class _Mytree >
typedef _Mytree::difference_type _Tree_unchecked_iterator< _Mytree >::difference_type
template<class _Mytree >
typedef bidirectional_iterator_tag _Tree_unchecked_iterator< _Mytree >::iterator_category
template<class _Mytree >
typedef _Mytree::pointer _Tree_unchecked_iterator< _Mytree >::pointer
template<class _Mytree >
typedef _Mytree::reference _Tree_unchecked_iterator< _Mytree >::reference
template<class _Mytree >
typedef _Mytree::value_type _Tree_unchecked_iterator< _Mytree >::value_type

Constructor & Destructor Documentation

template<class _Mytree >
_Tree_unchecked_iterator< _Mytree >::_Tree_unchecked_iterator ( )
inline
146  { // construct with null node
147  }
template<class _Mytree >
_Tree_unchecked_iterator< _Mytree >::_Tree_unchecked_iterator ( _Nodeptr  _Pnode,
const _Mytree *  _Plist 
)
inline
150  : _Mybase(_Pnode, _Plist)
151  { // construct with node pointer _Pnode
152  }
_Tree_unchecked_const_iterator< _Mytree > _Mybase
Definition: xtree:136

Member Function Documentation

template<class _Mytree >
reference _Tree_unchecked_iterator< _Mytree >::operator* ( ) const
inline
155  { // return designated value
156  return ((reference)**(_Mybase *)this);
157  }
_Tree_unchecked_const_iterator< _Mytree > _Mybase
Definition: xtree:136
_Mytree::reference reference
Definition: xtree:143
template<class _Mytree >
_Myiter& _Tree_unchecked_iterator< _Mytree >::operator++ ( )
inline
165  { // preincrement
166  ++(*(_Mybase *)this);
167  return (*this);
168  }
_Tree_unchecked_const_iterator< _Mytree > _Mybase
Definition: xtree:136
template<class _Mytree >
_Myiter _Tree_unchecked_iterator< _Mytree >::operator++ ( int  )
inline
171  { // postincrement
172  _Myiter _Tmp = *this;
173  ++*this;
174  return (_Tmp);
175  }
_Tree_unchecked_iterator< _Mytree > _Myiter
Definition: xtree:135
template<class _Mytree >
_Myiter& _Tree_unchecked_iterator< _Mytree >::operator-- ( )
inline
178  { // predecrement
179  --(*(_Mybase *)this);
180  return (*this);
181  }
_Tree_unchecked_const_iterator< _Mytree > _Mybase
Definition: xtree:136
template<class _Mytree >
_Myiter _Tree_unchecked_iterator< _Mytree >::operator-- ( int  )
inline
184  { // postdecrement
185  _Myiter _Tmp = *this;
186  --*this;
187  return (_Tmp);
188  }
_Tree_unchecked_iterator< _Mytree > _Myiter
Definition: xtree:135
template<class _Mytree >
pointer _Tree_unchecked_iterator< _Mytree >::operator-> ( ) const
inline
160  { // return pointer to class object
161  return (_STD pointer_traits<pointer>::pointer_to(**this));
162  }
Definition: xmemory0:198

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