STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
_Deque_unchecked_iterator< _Mydeque > Class Template Reference
Inheritance diagram for _Deque_unchecked_iterator< _Mydeque >:
_Deque_unchecked_const_iterator< _Mydeque >

Public Types

typedef _Deque_unchecked_iterator< _Mydeque > _Myiter
 
typedef _Deque_unchecked_const_iterator< _Mydeque > _Mybase
 
typedef random_access_iterator_tag iterator_category
 
typedef _Mydeque::value_type value_type
 
typedef _Mydeque::size_type size_type
 
typedef _Mydeque::difference_type difference_type
 
typedef _Mydeque::pointer pointer
 
typedef _Mydeque::reference reference
 
- Public Types inherited from _Deque_unchecked_const_iterator< _Mydeque >
typedef _Deque_unchecked_const_iterator< _Mydeque > _Myiter
 
typedef random_access_iterator_tag iterator_category
 
typedef _Mydeque::value_type value_type
 
typedef _Mydeque::size_type size_type
 
typedef _Mydeque::difference_type difference_type
 
typedef _Mydeque::const_pointer pointer
 
typedef _Mydeque::const_reference reference
 

Public Member Functions

 _Deque_unchecked_iterator ()
 
 _Deque_unchecked_iterator (size_type _Off, const _Container_base12 *_Pdeque)
 
reference operator* () const
 
pointer operator-> () const
 
_Myiteroperator++ ()
 
_Myiter operator++ (int)
 
_Myiteroperator-- ()
 
_Myiter operator-- (int)
 
_Myiteroperator+= (difference_type _Off)
 
_Myiter operator+ (difference_type _Off) const
 
_Myiteroperator-= (difference_type _Off)
 
_Myiter operator- (difference_type _Off) const
 
difference_type operator- (const _Mybase &_Right) const
 
reference operator[] (difference_type _Off) const
 
- Public Member Functions inherited from _Deque_unchecked_const_iterator< _Mydeque >
 _Deque_unchecked_const_iterator ()
 
 _Deque_unchecked_const_iterator (size_type _Off, const _Container_base12 *_Pdeque)
 
reference operator* () const
 
pointer operator-> () const
 
_Myiteroperator++ ()
 
_Myiter operator++ (int)
 
_Myiteroperator-- ()
 
_Myiter operator-- (int)
 
_Myiteroperator+= (difference_type _Off)
 
_Myiter operator+ (difference_type _Off) const
 
_Myiteroperator-= (difference_type _Off)
 
_Myiter operator- (difference_type _Off) const
 
difference_type operator- (const _Myiter &_Right) const
 
reference operator[] (difference_type _Off) const
 
bool operator== (const _Myiter &_Right) const
 
bool operator!= (const _Myiter &_Right) const
 
bool operator< (const _Myiter &_Right) const
 
bool operator> (const _Myiter &_Right) const
 
bool operator<= (const _Myiter &_Right) const
 
bool operator>= (const _Myiter &_Right) const
 
const _Container_base12_Getcont () const
 

Additional Inherited Members

- Public Attributes inherited from _Deque_unchecked_const_iterator< _Mydeque >
const _Mydeque * _Mycont
 
size_type _Myoff
 

Member Typedef Documentation

template<class _Mydeque>
typedef _Deque_unchecked_const_iterator<_Mydeque> _Deque_unchecked_iterator< _Mydeque >::_Mybase
template<class _Mydeque>
typedef _Deque_unchecked_iterator<_Mydeque> _Deque_unchecked_iterator< _Mydeque >::_Myiter
template<class _Mydeque>
typedef _Mydeque::difference_type _Deque_unchecked_iterator< _Mydeque >::difference_type
template<class _Mydeque>
typedef random_access_iterator_tag _Deque_unchecked_iterator< _Mydeque >::iterator_category
template<class _Mydeque>
typedef _Mydeque::pointer _Deque_unchecked_iterator< _Mydeque >::pointer
template<class _Mydeque>
typedef _Mydeque::reference _Deque_unchecked_iterator< _Mydeque >::reference
template<class _Mydeque>
typedef _Mydeque::size_type _Deque_unchecked_iterator< _Mydeque >::size_type
template<class _Mydeque>
typedef _Mydeque::value_type _Deque_unchecked_iterator< _Mydeque >::value_type

Constructor & Destructor Documentation

template<class _Mydeque>
_Deque_unchecked_iterator< _Mydeque >::_Deque_unchecked_iterator ( )
inline
191  { // construct with null pointer
192  }
template<class _Mydeque>
_Deque_unchecked_iterator< _Mydeque >::_Deque_unchecked_iterator ( size_type  _Off,
const _Container_base12 _Pdeque 
)
inline
196  : _Mybase(_Off, _Pdeque)
197  { // construct with offset _Off
198  }
_Deque_unchecked_const_iterator< _Mydeque > _Mybase
Definition: deque:181

Member Function Documentation

template<class _Mydeque>
reference _Deque_unchecked_iterator< _Mydeque >::operator* ( ) const
inline
201  { // return designated object
202  return ((reference)**(_Mybase *)this);
203  }
_Deque_unchecked_const_iterator< _Mydeque > _Mybase
Definition: deque:181
_Mydeque::reference reference
Definition: deque:188
template<class _Mydeque>
_Myiter _Deque_unchecked_iterator< _Mydeque >::operator+ ( difference_type  _Off) const
inline
243  { // return this + integer
244  _Myiter _Tmp = *this;
245  return (_Tmp += _Off);
246  }
_Deque_unchecked_iterator< _Mydeque > _Myiter
Definition: deque:180
template<class _Mydeque>
_Myiter& _Deque_unchecked_iterator< _Mydeque >::operator++ ( )
inline
211  { // preincrement
212  ++*(_Mybase *)this;
213  return (*this);
214  }
_Deque_unchecked_const_iterator< _Mydeque > _Mybase
Definition: deque:181
template<class _Mydeque>
_Myiter _Deque_unchecked_iterator< _Mydeque >::operator++ ( int  )
inline
217  { // postincrement
218  _Myiter _Tmp = *this;
219  ++*this;
220  return (_Tmp);
221  }
_Deque_unchecked_iterator< _Mydeque > _Myiter
Definition: deque:180
template<class _Mydeque>
_Myiter& _Deque_unchecked_iterator< _Mydeque >::operator+= ( difference_type  _Off)
inline
237  { // increment by integer
238  *(_Mybase *)this += _Off;
239  return (*this);
240  }
_Deque_unchecked_const_iterator< _Mydeque > _Mybase
Definition: deque:181
template<class _Mydeque>
_Myiter _Deque_unchecked_iterator< _Mydeque >::operator- ( difference_type  _Off) const
inline
254  { // return this - integer
255  _Myiter _Tmp = *this;
256  return (_Tmp -= _Off);
257  }
_Deque_unchecked_iterator< _Mydeque > _Myiter
Definition: deque:180
template<class _Mydeque>
difference_type _Deque_unchecked_iterator< _Mydeque >::operator- ( const _Mybase _Right) const
inline
260  { // return difference of iterators
261  return (*(_Mybase *)this - _Right);
262  }
_Deque_unchecked_const_iterator< _Mydeque > _Mybase
Definition: deque:181
const _Ty & _Right
Definition: algorithm:4087
template<class _Mydeque>
_Myiter& _Deque_unchecked_iterator< _Mydeque >::operator-- ( )
inline
224  { // predecrement
225  --*(_Mybase *)this;
226  return (*this);
227  }
_Deque_unchecked_const_iterator< _Mydeque > _Mybase
Definition: deque:181
template<class _Mydeque>
_Myiter _Deque_unchecked_iterator< _Mydeque >::operator-- ( int  )
inline
230  { // postdecrement
231  _Myiter _Tmp = *this;
232  --*this;
233  return (_Tmp);
234  }
_Deque_unchecked_iterator< _Mydeque > _Myiter
Definition: deque:180
template<class _Mydeque>
_Myiter& _Deque_unchecked_iterator< _Mydeque >::operator-= ( difference_type  _Off)
inline
249  { // decrement by integer
250  return (*this += -_Off);
251  }
template<class _Mydeque>
pointer _Deque_unchecked_iterator< _Mydeque >::operator-> ( ) const
inline
206  { // return pointer to class object
207  return (_STD pointer_traits<pointer>::pointer_to(**this));
208  }
Definition: xmemory0:198
template<class _Mydeque>
reference _Deque_unchecked_iterator< _Mydeque >::operator[] ( difference_type  _Off) const
inline
265  { // subscript
266  return (*(*this + _Off));
267  }

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