ReactOS 0.4.15-dev-8131-g4988de4
_DequeIteCast< _StorageT, _ValueT > Struct Template Reference

#include <_deque.h>

Public Types

typedef _Deque_iterator< _ValueT, _Nonconst_traits< _ValueT > > iterator
 
typedef _Deque_iterator< _ValueT, _Const_traits< _ValueT > > const_iterator
 
typedef _Deque_iterator< _StorageT, _Nonconst_traits< _StorageT > > storage_iterator
 
typedef _Deque_iterator< _StorageT, _Const_traits< _StorageT > > const_storage_iterator
 
typedef _CastTraits< _StorageT, _ValueT > cast_traits
 

Static Public Member Functions

static iterator to_value_type_ite (storage_iterator const &__ite)
 
static storage_iterator to_storage_type_ite (iterator const &__ite)
 
static const_iterator to_value_type_cite (const_storage_iterator const &__ite)
 
static const_storage_iterator to_storage_type_cite (const_iterator const &__ite)
 

Detailed Description

template<class _StorageT, class _ValueT>
struct _DequeIteCast< _StorageT, _ValueT >

Definition at line 34 of file _deque.h.

Member Typedef Documentation

◆ cast_traits

template<class _StorageT , class _ValueT >
typedef _CastTraits<_StorageT, _ValueT> _DequeIteCast< _StorageT, _ValueT >::cast_traits

Definition at line 39 of file _deque.h.

◆ const_iterator

template<class _StorageT , class _ValueT >
typedef _Deque_iterator<_ValueT, _Const_traits<_ValueT> > _DequeIteCast< _StorageT, _ValueT >::const_iterator

Definition at line 36 of file _deque.h.

◆ const_storage_iterator

template<class _StorageT , class _ValueT >
typedef _Deque_iterator<_StorageT, _Const_traits<_StorageT> > _DequeIteCast< _StorageT, _ValueT >::const_storage_iterator

Definition at line 38 of file _deque.h.

◆ iterator

template<class _StorageT , class _ValueT >
typedef _Deque_iterator<_ValueT, _Nonconst_traits<_ValueT> > _DequeIteCast< _StorageT, _ValueT >::iterator

Definition at line 35 of file _deque.h.

◆ storage_iterator

template<class _StorageT , class _ValueT >
typedef _Deque_iterator<_StorageT, _Nonconst_traits<_StorageT> > _DequeIteCast< _StorageT, _ValueT >::storage_iterator

Definition at line 37 of file _deque.h.

Member Function Documentation

◆ to_storage_type_cite()

template<class _StorageT , class _ValueT >
static const_storage_iterator _DequeIteCast< _StorageT, _ValueT >::to_storage_type_cite ( const_iterator const __ite)
inlinestatic

Definition at line 67 of file _deque.h.

67 {
69 tmp._M_cur = cast_traits::to_storage_type_ptr(__ite._M_cur);
70 tmp._M_first = cast_traits::to_storage_type_ptr(__ite._M_first);
71 tmp._M_last = cast_traits::to_storage_type_ptr(__ite._M_last);
72 tmp._M_node = cast_traits::to_storage_type_pptr(__ite._M_node);
73 return tmp;
74 }
static storage_type * to_storage_type_ptr(value_type *__ptr)
Definition: _tools.h:417
static storage_type ** to_storage_type_pptr(value_type **__ptr)
Definition: _tools.h:421
_Deque_iterator< _StorageT, _Const_traits< _StorageT > > const_storage_iterator
Definition: _deque.h:38

◆ to_storage_type_ite()

template<class _StorageT , class _ValueT >
static storage_iterator _DequeIteCast< _StorageT, _ValueT >::to_storage_type_ite ( iterator const __ite)
inlinestatic

Definition at line 49 of file _deque.h.

49 {
51 tmp._M_cur = cast_traits::to_storage_type_ptr(__ite._M_cur);
52 tmp._M_first = cast_traits::to_storage_type_ptr(__ite._M_first);
53 tmp._M_last = cast_traits::to_storage_type_ptr(__ite._M_last);
54 tmp._M_node = cast_traits::to_storage_type_pptr(__ite._M_node);
55 return tmp;
56 }
_Deque_iterator< _StorageT, _Nonconst_traits< _StorageT > > storage_iterator
Definition: _deque.h:37

◆ to_value_type_cite()

template<class _StorageT , class _ValueT >
static const_iterator _DequeIteCast< _StorageT, _ValueT >::to_value_type_cite ( const_storage_iterator const __ite)
inlinestatic

Definition at line 58 of file _deque.h.

58 {
60 tmp._M_cur = cast_traits::to_value_type_ptr(__ite._M_cur);
61 tmp._M_first = cast_traits::to_value_type_ptr(__ite._M_first);
62 tmp._M_last = cast_traits::to_value_type_ptr(__ite._M_last);
63 tmp._M_node = cast_traits::to_value_type_pptr(__ite._M_node);
64 return tmp;
65 }
static value_type * to_value_type_ptr(storage_type *__ptr)
Definition: _tools.h:406
static value_type ** to_value_type_pptr(storage_type **__ptr)
Definition: _tools.h:410
_Deque_iterator< _ValueT, _Const_traits< _ValueT > > const_iterator
Definition: _deque.h:36

◆ to_value_type_ite()

template<class _StorageT , class _ValueT >
static iterator _DequeIteCast< _StorageT, _ValueT >::to_value_type_ite ( storage_iterator const __ite)
inlinestatic

Definition at line 41 of file _deque.h.

41 {
42 iterator tmp;
43 tmp._M_cur = cast_traits::to_value_type_ptr(__ite._M_cur);
44 tmp._M_first = cast_traits::to_value_type_ptr(__ite._M_first);
45 tmp._M_last = cast_traits::to_value_type_ptr(__ite._M_last);
46 tmp._M_node = cast_traits::to_value_type_pptr(__ite._M_node);
47 return tmp;
48 }

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