ReactOS  0.4.14-dev-114-gc8cbd56
_DBG_iter< _Container, _Traits > Struct Template Reference

#include <_iterator.h>

Inheritance diagram for _DBG_iter< _Container, _Traits >:
Collaboration diagram for _DBG_iter< _Container, _Traits >:

Public Types

typedef _DBG_iter_base< _Container > _Base
 
typedef _Base::value_type value_type
 
typedef _Base::difference_type difference_type
 
typedef _Traits::reference reference
 
typedef _Traits::pointer pointer
 
typedef _Base::_Nonconst_iterator _Nonconst_iterator
 
typedef _Base::_Const_iterator _Const_iterator
 
typedef _Base::_Iterator_category _Iterator_category
 
- Public Types inherited from _DBG_iter_mid< _Container, _Traits >
typedef _DBG_iter_mid< _Container, typename _Traits::_NonConstTraits > _Nonconst_self
 
typedef _Container::iterator _Nonconst_iterator
 
typedef _Container::const_iterator _Const_iterator
 
- Public Types inherited from _DBG_iter_base< _Container >
typedef _Container::value_type value_type
 
typedef _Container::reference reference
 
typedef _Container::pointer pointer
 
typedef ptrdiff_t difference_type
 
typedef _Container::iterator _Nonconst_iterator
 
typedef _Container::const_iterator _Const_iterator
 
typedef _Container _Container_type
 
typedef _Container::_Iterator_category _Iterator_category
 
typedef _Iterator_category iterator_category
 

Public Member Functions

 _DBG_iter ()
 
 _DBG_iter (const __owned_list *__c, const _Const_iterator &__it)
 
 _DBG_iter (const _Nonconst_mid &__rhs)
 
 _DBG_iter (const _Self &__rhs)
 
_Selfoperator= (const _Nonconst_mid &__rhs)
 
_Selfoperator= (const _Self &__rhs)
 
reference operator * () const
 
_STLP_DEFINE_ARROW_OPERATOR _Selfoperator++ ()
 
_Self operator++ (int)
 
_Selfoperator-- ()
 
_Self operator-- (int)
 
_Selfoperator+= (difference_type __n)
 
_Selfoperator-= (difference_type __n)
 
_Self operator+ (difference_type __n) const
 
_Self operator- (difference_type __n) const
 
reference operator[] (difference_type __n) const
 
- Public Member Functions inherited from _DBG_iter_mid< _Container, _Traits >
 _DBG_iter_mid ()
 
 _DBG_iter_mid (const _Nonconst_self &__it)
 
 _DBG_iter_mid (const __owned_list *__c, const _Const_iterator &__it)
 
- Public Member Functions inherited from _DBG_iter_base< _Container >
 _DBG_iter_base ()
 
 _DBG_iter_base (const __owned_list *__c, const _Const_iterator &__it)
 
_Container * _Get_container_ptr () const
 
void __increment ()
 
void __decrement ()
 
void __advance (ptrdiff_t __n)
 

Private Types

typedef _DBG_iter< _Container, _Traits > _Self
 
typedef _DBG_iter_mid< _Container, typename _Traits::_NonConstTraits > _Nonconst_mid
 

Additional Inherited Members

- Public Attributes inherited from _DBG_iter_base< _Container >
_Nonconst_iterator _M_iterator
 

Detailed Description

template<class _Container, class _Traits>
struct _DBG_iter< _Container, _Traits >

Definition at line 198 of file _iterator.h.

Member Typedef Documentation

◆ _Base

template<class _Container, class _Traits>
typedef _DBG_iter_base<_Container> _DBG_iter< _Container, _Traits >::_Base

Definition at line 199 of file _iterator.h.

◆ _Const_iterator

template<class _Container, class _Traits>
typedef _Base::_Const_iterator _DBG_iter< _Container, _Traits >::_Const_iterator

Definition at line 207 of file _iterator.h.

◆ _Iterator_category

template<class _Container, class _Traits>
typedef _Base::_Iterator_category _DBG_iter< _Container, _Traits >::_Iterator_category

Definition at line 218 of file _iterator.h.

◆ _Nonconst_iterator

template<class _Container, class _Traits>
typedef _Base::_Nonconst_iterator _DBG_iter< _Container, _Traits >::_Nonconst_iterator

Definition at line 206 of file _iterator.h.

◆ _Nonconst_mid

template<class _Container, class _Traits>
typedef _DBG_iter_mid<_Container, typename _Traits::_NonConstTraits> _DBG_iter< _Container, _Traits >::_Nonconst_mid
private

Definition at line 211 of file _iterator.h.

◆ _Self

template<class _Container, class _Traits>
typedef _DBG_iter<_Container, _Traits> _DBG_iter< _Container, _Traits >::_Self
private

Definition at line 210 of file _iterator.h.

◆ difference_type

template<class _Container, class _Traits>
typedef _Base::difference_type _DBG_iter< _Container, _Traits >::difference_type

Definition at line 202 of file _iterator.h.

◆ pointer

template<class _Container, class _Traits>
typedef _Traits::pointer _DBG_iter< _Container, _Traits >::pointer

Definition at line 204 of file _iterator.h.

◆ reference

template<class _Container, class _Traits>
typedef _Traits::reference _DBG_iter< _Container, _Traits >::reference

Definition at line 203 of file _iterator.h.

◆ value_type

template<class _Container, class _Traits>
typedef _Base::value_type _DBG_iter< _Container, _Traits >::value_type

Definition at line 201 of file _iterator.h.

Constructor & Destructor Documentation

◆ _DBG_iter() [1/4]

template<class _Container, class _Traits>
_DBG_iter< _Container, _Traits >::_DBG_iter ( )
inline

Definition at line 221 of file _iterator.h.

221 {}

◆ _DBG_iter() [2/4]

template<class _Container, class _Traits>
_DBG_iter< _Container, _Traits >::_DBG_iter ( const __owned_list *  __c,
const _Const_iterator __it 
)
inline

Definition at line 223 of file _iterator.h.

223  :
#define __c
Definition: schilyio.h:209
_STLP_MOVE_TO_PRIV_NAMESPACE const _InputIterator const input_iterator_tag &_InputIterator __it(__first)

◆ _DBG_iter() [3/4]

template<class _Container, class _Traits>
_DBG_iter< _Container, _Traits >::_DBG_iter ( const _Nonconst_mid __rhs)
inline

Definition at line 228 of file _iterator.h.

◆ _DBG_iter() [4/4]

template<class _Container, class _Traits>
_DBG_iter< _Container, _Traits >::_DBG_iter ( const _Self __rhs)
inline

Definition at line 231 of file _iterator.h.

Member Function Documentation

◆ operator *()

template<class _Container , class _Traits >
_STLP_TYPENAME_ON_RETURN_TYPE _DBG_iter< _Container, _Traits >::reference _DBG_iter< _Container, _Traits >::operator * ( ) const
inline

Definition at line 298 of file _iterator.h.

298  {
300  _STLP_DEBUG_CHECK(_Traits::_Check(*this))
301  return *this->_M_iterator;
302 }
return
Definition: dirsup.c:529
bool _Dereferenceable(const _Iterator &__it)
Definition: _iterator.h:93
#define _STLP_DEBUG_CHECK(expr)
Definition: _debug.h:440
_Nonconst_iterator _M_iterator
Definition: _iterator.h:153

◆ operator+()

template<class _Container, class _Traits>
_Self _DBG_iter< _Container, _Traits >::operator+ ( difference_type  __n) const
inline

Definition at line 278 of file _iterator.h.

278  {
279  _Self __tmp(*this);
280  __tmp.__advance(__n);
281  return __tmp;
282  }
_DBG_iter< _Container, _Traits > _Self
Definition: _iterator.h:210
return __n
Definition: _algo.h:75

◆ operator++() [1/2]

template<class _Container, class _Traits>
_STLP_DEFINE_ARROW_OPERATOR _Self& _DBG_iter< _Container, _Traits >::operator++ ( )
inline

Definition at line 250 of file _iterator.h.

250  {
251  this->__increment();
252  return *this;
253  }
void __increment()
Definition: _iterator.h:157

◆ operator++() [2/2]

template<class _Container, class _Traits>
_Self _DBG_iter< _Container, _Traits >::operator++ ( int  )
inline

Definition at line 254 of file _iterator.h.

254  {
255  _Self __tmp = *this;
256  this->__increment();
257  return __tmp;
258  }
_DBG_iter< _Container, _Traits > _Self
Definition: _iterator.h:210
void __increment()
Definition: _iterator.h:157

◆ operator+=()

template<class _Container, class _Traits>
_Self& _DBG_iter< _Container, _Traits >::operator+= ( difference_type  __n)
inline

Definition at line 269 of file _iterator.h.

269  {
270  this->__advance(__n);
271  return *this;
272  }
return __n
Definition: _algo.h:75
void __advance(ptrdiff_t __n)
Definition: _iterator.h:169

◆ operator-()

template<class _Container, class _Traits>
_Self _DBG_iter< _Container, _Traits >::operator- ( difference_type  __n) const
inline

Definition at line 283 of file _iterator.h.

283  {
284  _Self __tmp(*this);
285  __tmp.__advance(-__n);
286  return __tmp;
287  }
_DBG_iter< _Container, _Traits > _Self
Definition: _iterator.h:210
return __n
Definition: _algo.h:75

◆ operator--() [1/2]

template<class _Container, class _Traits>
_Self& _DBG_iter< _Container, _Traits >::operator-- ( )
inline

Definition at line 259 of file _iterator.h.

259  {
260  this->__decrement();
261  return *this;
262  }
void __decrement()
Definition: _iterator.h:163

◆ operator--() [2/2]

template<class _Container, class _Traits>
_Self _DBG_iter< _Container, _Traits >::operator-- ( int  )
inline

Definition at line 263 of file _iterator.h.

263  {
264  _Self __tmp = *this;
265  this->__decrement();
266  return __tmp;
267  }
_DBG_iter< _Container, _Traits > _Self
Definition: _iterator.h:210
void __decrement()
Definition: _iterator.h:163

◆ operator-=()

template<class _Container, class _Traits>
_Self& _DBG_iter< _Container, _Traits >::operator-= ( difference_type  __n)
inline

Definition at line 274 of file _iterator.h.

274  {
275  this->__advance(-__n);
276  return *this;
277  }
return __n
Definition: _algo.h:75
void __advance(ptrdiff_t __n)
Definition: _iterator.h:169

◆ operator=() [1/2]

template<class _Container, class _Traits>
_Self& _DBG_iter< _Container, _Traits >::operator= ( const _Nonconst_mid __rhs)
inline

Definition at line 236 of file _iterator.h.

236  {
237  (_Base&)*this = __rhs;
238  return *this;
239  }
_DBG_iter_base< _Container > _Base
Definition: _iterator.h:199

◆ operator=() [2/2]

template<class _Container, class _Traits>
_Self& _DBG_iter< _Container, _Traits >::operator= ( const _Self __rhs)
inline

Definition at line 241 of file _iterator.h.

241  {
242  (_Base&)*this = __rhs;
243  return *this;
244  }
_DBG_iter_base< _Container > _Base
Definition: _iterator.h:199

◆ operator[]()

template<class _Container, class _Traits>
reference _DBG_iter< _Container, _Traits >::operator[] ( difference_type  __n) const
inline

Definition at line 288 of file _iterator.h.

288 { return *(*this + __n); }
return __n
Definition: _algo.h:75

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