STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
_Vb_iterator< _Alloc > Class Template Reference
Inheritance diagram for _Vb_iterator< _Alloc >:
_Vb_const_iterator< _Alloc > _Vb_iter_base< _Alloc > _Iterator012< random_access_iterator_tag, bool, _Alloc::difference_type, bool *, bool, _Iterator_base > _Iterator_base0

Public Types

typedef _Vb_const_iterator< _Alloc > _Mybase
 
typedef _Vb_iterator< _Alloc > _Mytype
 
typedef _Vb_reference< _Alloc > _Reft
 
typedef bool const_reference
 
typedef random_access_iterator_tag iterator_category
 
typedef bool value_type
 
typedef _Alloc::size_type size_type
 
typedef _Alloc::difference_type difference_type
 
typedef _Reftpointer
 
typedef _Reft reference
 
- Public Types inherited from _Vb_const_iterator< _Alloc >
typedef _Vb_iter_base< _Alloc > _Mybase
 
typedef _Vb_const_iterator< _Alloc > _Mytype
 
typedef _Vb_reference< _Alloc > _Reft
 
typedef bool const_reference
 
typedef random_access_iterator_tag iterator_category
 
typedef bool value_type
 
typedef _Alloc::size_type size_type
 
typedef _Alloc::difference_type difference_type
 
typedef const_referencepointer
 
typedef const_reference reference
 
- Public Types inherited from _Vb_iter_base< _Alloc >
typedef _Alloc::size_type _Sizet
 
typedef vector< bool, _Alloc > _Mycont
 
- Public Types inherited from _Iterator012< random_access_iterator_tag, bool, _Alloc::difference_type, bool *, bool, _Iterator_base >
typedef random_access_iterator_tag iterator_category
 
typedef bool value_type
 
typedef _Alloc::difference_type difference_type
 
typedef boolpointer
 
typedef bool reference
 

Public Member Functions

 _Vb_iterator ()
 
 _Vb_iterator (_Vbase *_Ptr, _Container_base *_Mypvbool)
 
reference operator* () const
 
_Mytypeoperator++ ()
 
_Mytype operator++ (int)
 
_Mytypeoperator-- ()
 
_Mytype operator-- (int)
 
_Mytypeoperator+= (difference_type _Off)
 
_Mytype operator+ (difference_type _Off) const
 
_Mytypeoperator-= (difference_type _Off)
 
_Mytype operator- (difference_type _Off) const
 
difference_type operator- (const _Mybase &_Right) const
 
reference operator[] (difference_type _Off) const
 
- Public Member Functions inherited from _Vb_const_iterator< _Alloc >
 _Vb_const_iterator ()
 
 _Vb_const_iterator (const _Vbase *_Ptr, const _Container_base *_Mypvbool)
 
const_reference operator* () const
 
_Mytypeoperator++ ()
 
_Mytype operator++ (int)
 
_Mytypeoperator-- ()
 
_Mytype operator-- (int)
 
_Mytypeoperator+= (difference_type _Off)
 
_Mytype operator+ (difference_type _Off) const
 
_Mytypeoperator-= (difference_type _Off)
 
_Mytype operator- (difference_type _Off) const
 
difference_type operator- (const _Mytype &_Right) const
 
const_reference operator[] (difference_type _Off) const
 
bool operator== (const _Mytype &_Right) const
 
bool operator!= (const _Mytype &_Right) const
 
bool operator< (const _Mytype &_Right) const
 
bool operator> (const _Mytype &_Right) const
 
bool operator<= (const _Mytype &_Right) const
 
bool operator>= (const _Mytype &_Right) const
 
void _Compat (const _Mytype &) const
 
void _Dec ()
 
void _Inc ()
 
- Public Member Functions inherited from _Vb_iter_base< _Alloc >
 _Vb_iter_base ()
 
 _Vb_iter_base (const _Vbase *_Ptr, _Sizet _Off, const _Container_base *_Mypvbool)
 
void _Advance (_Sizet _Off)
 
int _Valid (_Sizet _Inc) const
 
- Public Member Functions inherited from _Iterator_base0
void _Adopt (const void *)
 
const _Container_base0_Getcont () const
 

Additional Inherited Members

- Public Attributes inherited from _Vb_iter_base< _Alloc >
const _Vbase_Myptr
 
_Sizet _Myoff
 

Member Typedef Documentation

template<class _Alloc>
typedef _Vb_const_iterator<_Alloc> _Vb_iterator< _Alloc >::_Mybase
template<class _Alloc>
typedef _Vb_iterator<_Alloc> _Vb_iterator< _Alloc >::_Mytype
template<class _Alloc>
typedef _Vb_reference<_Alloc> _Vb_iterator< _Alloc >::_Reft
template<class _Alloc>
typedef bool _Vb_iterator< _Alloc >::const_reference
template<class _Alloc>
typedef _Alloc::difference_type _Vb_iterator< _Alloc >::difference_type
template<class _Alloc>
typedef random_access_iterator_tag _Vb_iterator< _Alloc >::iterator_category
template<class _Alloc>
typedef _Reft* _Vb_iterator< _Alloc >::pointer
template<class _Alloc>
typedef _Reft _Vb_iterator< _Alloc >::reference
template<class _Alloc>
typedef _Alloc::size_type _Vb_iterator< _Alloc >::size_type
template<class _Alloc>
typedef bool _Vb_iterator< _Alloc >::value_type

Constructor & Destructor Documentation

template<class _Alloc>
_Vb_iterator< _Alloc >::_Vb_iterator ( )
inline
2236  { // construct with null reference
2237  }
template<class _Alloc>
_Vb_iterator< _Alloc >::_Vb_iterator ( _Vbase _Ptr,
_Container_base _Mypvbool 
)
inline
2240  : _Mybase(_Ptr, _Mypvbool)
2241  { // construct with offset and pointer
2242  }
_Vb_const_iterator< _Alloc > _Mybase
Definition: vector:2222

Member Function Documentation

template<class _Alloc>
reference _Vb_iterator< _Alloc >::operator* ( ) const
inline
2245  { // return (reference to) designated object
2246  return (_Reft(*this));
2247  }
_Vb_reference< _Alloc > _Reft
Definition: vector:2225
template<class _Alloc>
_Mytype _Vb_iterator< _Alloc >::operator+ ( difference_type  _Off) const
inline
2282  { // return this + integer
2283  _Mytype _Tmp = *this;
2284  return (_Tmp += _Off);
2285  }
_Vb_iterator< _Alloc > _Mytype
Definition: vector:2223
template<class _Alloc>
_Mytype& _Vb_iterator< _Alloc >::operator++ ( )
inline
2250  { // preincrement
2251  ++*(_Mybase *)this;
2252  return (*this);
2253  }
_Vb_const_iterator< _Alloc > _Mybase
Definition: vector:2222
template<class _Alloc>
_Mytype _Vb_iterator< _Alloc >::operator++ ( int  )
inline
2256  { // postincrement
2257  _Mytype _Tmp = *this;
2258  ++*this;
2259  return (_Tmp);
2260  }
_Vb_iterator< _Alloc > _Mytype
Definition: vector:2223
template<class _Alloc>
_Mytype& _Vb_iterator< _Alloc >::operator+= ( difference_type  _Off)
inline
2276  { // increment by integer
2277  *(_Mybase *)this += _Off;
2278  return (*this);
2279  }
_Vb_const_iterator< _Alloc > _Mybase
Definition: vector:2222
template<class _Alloc>
_Mytype _Vb_iterator< _Alloc >::operator- ( difference_type  _Off) const
inline
2293  { // return this - integer
2294  _Mytype _Tmp = *this;
2295  return (_Tmp -= _Off);
2296  }
_Vb_iterator< _Alloc > _Mytype
Definition: vector:2223
template<class _Alloc>
difference_type _Vb_iterator< _Alloc >::operator- ( const _Mybase _Right) const
inline
2299  { // return difference of iterators
2300  return (*(_Mybase *)this - _Right);
2301  }
_Vb_const_iterator< _Alloc > _Mybase
Definition: vector:2222
constexpr const _Ty &() _Right
Definition: algorithm:3591
template<class _Alloc>
_Mytype& _Vb_iterator< _Alloc >::operator-- ( )
inline
2263  { // predecrement
2264  --*(_Mybase *)this;
2265  return (*this);
2266  }
_Vb_const_iterator< _Alloc > _Mybase
Definition: vector:2222
template<class _Alloc>
_Mytype _Vb_iterator< _Alloc >::operator-- ( int  )
inline
2269  { // postdecrement
2270  _Mytype _Tmp = *this;
2271  --*this;
2272  return (_Tmp);
2273  }
_Vb_iterator< _Alloc > _Mytype
Definition: vector:2223
template<class _Alloc>
_Mytype& _Vb_iterator< _Alloc >::operator-= ( difference_type  _Off)
inline
2288  { // decrement by integer
2289  return (*this += -_Off);
2290  }
template<class _Alloc>
reference _Vb_iterator< _Alloc >::operator[] ( difference_type  _Off) const
inline
2304  { // subscript
2305  return (*(*this + _Off));
2306  }

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