ReactOS 0.4.16-dev-197-g92996da
_DBG_iter_base< _Container > Struct Template Reference

#include <_iterator.h>

Inheritance diagram for _DBG_iter_base< _Container >:
Collaboration diagram for _DBG_iter_base< _Container >:

Public Types

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_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)
 

Public Attributes

_Nonconst_iterator _M_iterator
 

Detailed Description

template<class _Container>
struct _DBG_iter_base< _Container >

Definition at line 119 of file _iterator.h.

Member Typedef Documentation

◆ _Const_iterator

template<class _Container >
typedef _Container::const_iterator _DBG_iter_base< _Container >::_Const_iterator

Definition at line 127 of file _iterator.h.

◆ _Container_type

template<class _Container >
typedef _Container _DBG_iter_base< _Container >::_Container_type

Definition at line 128 of file _iterator.h.

◆ _Iterator_category

template<class _Container >
typedef _Container::_Iterator_category _DBG_iter_base< _Container >::_Iterator_category

Definition at line 133 of file _iterator.h.

◆ _Nonconst_iterator

template<class _Container >
typedef _Container::iterator _DBG_iter_base< _Container >::_Nonconst_iterator

Definition at line 126 of file _iterator.h.

◆ difference_type

template<class _Container >
typedef ptrdiff_t _DBG_iter_base< _Container >::difference_type

Definition at line 124 of file _iterator.h.

◆ iterator_category

template<class _Container >
typedef _Iterator_category _DBG_iter_base< _Container >::iterator_category

Definition at line 135 of file _iterator.h.

◆ pointer

template<class _Container >
typedef _Container::pointer _DBG_iter_base< _Container >::pointer

Definition at line 123 of file _iterator.h.

◆ reference

template<class _Container >
typedef _Container::reference _DBG_iter_base< _Container >::reference

Definition at line 122 of file _iterator.h.

◆ value_type

template<class _Container >
typedef _Container::value_type _DBG_iter_base< _Container >::value_type

Definition at line 121 of file _iterator.h.

Constructor & Destructor Documentation

◆ _DBG_iter_base() [1/2]

template<class _Container >
_DBG_iter_base< _Container >::_DBG_iter_base ( )
inline

Definition at line 137 of file _iterator.h.

137: __owned_link(0) {}

◆ _DBG_iter_base() [2/2]

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

Definition at line 138 of file _iterator.h.

138 :
139#if defined(__HP_aCC) && (__HP_aCC < 60000)
140 __owned_link(__c), _M_iterator(*__REINTERPRET_CAST(const _Nonconst_iterator *, &__it)) {}
141#else
142 __owned_link(__c), _M_iterator(*(const _Nonconst_iterator*)&__it) {}
_STLP_MOVE_TO_PRIV_NAMESPACE const _InputIterator const input_iterator_tag &_InputIterator __it(__first)
#define __REINTERPRET_CAST(__x, __y)
Definition: features.h:586
#define __c
Definition: schilyio.h:209
_Nonconst_iterator _M_iterator
Definition: _iterator.h:153
_Container::iterator _Nonconst_iterator
Definition: _iterator.h:126

Member Function Documentation

◆ __advance()

template<class _Container >
void _DBG_iter_base< _Container >::__advance ( ptrdiff_t  __n)
inline

Definition at line 169 of file _iterator.h.

169 {
172}
return __n
Definition: _algo.h:75
#define _STLP_DEBUG_CHECK(expr)
Definition: _debug.h:440
void _Advance(_Iterator &, ptrdiff_t, const forward_iterator_tag &)
Definition: _iterator.h:49
bool _Incrementable(const _Iterator &__it, ptrdiff_t __n, const forward_iterator_tag &)
Definition: _iterator.h:97
_Container::_Iterator_category _Iterator_category
Definition: _iterator.h:133

Referenced by _DBG_iter< _Container, _Traits >::operator+(), _DBG_iter< _Container, _Traits >::operator+=(), _DBG_iter< _Container, _Traits >::operator-(), and _DBG_iter< _Container, _Traits >::operator-=().

◆ __decrement()

template<class _Container >
void _DBG_iter_base< _Container >::__decrement
inline

Definition at line 163 of file _iterator.h.

163 {
166}
_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE void _Decrement(_Iterator &__it, const bidirectional_iterator_tag &)
Definition: _iterator.h:37

Referenced by _DBG_iter< _Container, _Traits >::operator--().

◆ __increment()

template<class _Container >
void _DBG_iter_base< _Container >::__increment
inline

Definition at line 157 of file _iterator.h.

157 {
159 ++_M_iterator;
160}

Referenced by _DBG_iter< _Container, _Traits >::operator++().

◆ _Get_container_ptr()

template<class _Container >
_Container * _DBG_iter_base< _Container >::_Get_container_ptr ( ) const
inline

Definition at line 144 of file _iterator.h.

144 {
145 return (_Container*)__stl_debugger::_Get_container_ptr(this);
146 }

Member Data Documentation

◆ _M_iterator

template<class _Container >
_Nonconst_iterator _DBG_iter_base< _Container >::_M_iterator

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