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

Public Types

typedef _Deque_val< _Val_types > _Myt
 
typedef _Val_types::value_type value_type
 
typedef _Val_types::size_type size_type
 
typedef _Val_types::difference_type difference_type
 
typedef _Val_types::pointer pointer
 
typedef _Val_types::const_pointer const_pointer
 
typedef _Val_types::reference reference
 
typedef _Val_types::const_reference const_reference
 
typedef _Val_types::_Mapptr _Mapptr
 
typedef _Deque_iterator< _Mytiterator
 
typedef _Deque_const_iterator< _Mytconst_iterator
 

Public Member Functions

 _Deque_val ()
 
size_type _Getblock (size_type _Off) const
 
- Public Member Functions inherited from _Container_base12
 _Container_base12 ()
 
 _Container_base12 (const _Container_base12 &)
 
_Container_base12operator= (const _Container_base12 &)
 
 ~_Container_base12 () _NOEXCEPT
 
_Iterator_base12 ** _Getpfirst () const
 
void _Orphan_all ()
 
void _Swap_all (_Container_base12 &)
 

Public Attributes

_Mapptr _Map
 
size_type _Mapsize
 
size_type _Myoff
 
size_type _Mysize
 
- Public Attributes inherited from _Container_base12
_Container_proxy_Myproxy
 

Member Typedef Documentation

template<class _Val_types>
typedef _Val_types::_Mapptr _Deque_val< _Val_types >::_Mapptr
template<class _Val_types>
typedef _Deque_val<_Val_types> _Deque_val< _Val_types >::_Myt
template<class _Val_types>
typedef _Deque_const_iterator<_Myt> _Deque_val< _Val_types >::const_iterator
template<class _Val_types>
typedef _Val_types::const_pointer _Deque_val< _Val_types >::const_pointer
template<class _Val_types>
typedef _Val_types::const_reference _Deque_val< _Val_types >::const_reference
template<class _Val_types>
typedef _Val_types::difference_type _Deque_val< _Val_types >::difference_type
template<class _Val_types>
typedef _Deque_iterator<_Myt> _Deque_val< _Val_types >::iterator
template<class _Val_types>
typedef _Val_types::pointer _Deque_val< _Val_types >::pointer
template<class _Val_types>
typedef _Val_types::reference _Deque_val< _Val_types >::reference
template<class _Val_types>
typedef _Val_types::size_type _Deque_val< _Val_types >::size_type
template<class _Val_types>
typedef _Val_types::value_type _Deque_val< _Val_types >::value_type

Constructor & Destructor Documentation

template<class _Val_types>
_Deque_val< _Val_types >::_Deque_val ( )
inline
772  { // initialize values
773  _Map = _Mapptr();
774  _Mapsize = 0;
775  _Myoff = 0;
776  _Mysize = 0;
777  }
size_type _Mapsize
Definition: deque:786
size_type _Myoff
Definition: deque:787
_Val_types::_Mapptr _Mapptr
Definition: deque:766
size_type _Mysize
Definition: deque:788
_Mapptr _Map
Definition: deque:785

Member Function Documentation

template<class _Val_types>
size_type _Deque_val< _Val_types >::_Getblock ( size_type  _Off) const
inline
780  { // determine block from offset
781  // NB: _Mapsize and _DEQUESIZ are guaranteed to be powers of 2
782  return ((_Off / _DEQUESIZ) & (this->_Mapsize - 1));
783  }
#define _DEQUESIZ
Definition: deque:19
size_type _Mapsize
Definition: deque:786

Member Data Documentation

template<class _Val_types>
_Mapptr _Deque_val< _Val_types >::_Map
template<class _Val_types>
size_type _Deque_val< _Val_types >::_Mapsize
template<class _Val_types>
size_type _Deque_val< _Val_types >::_Myoff
template<class _Val_types>
size_type _Deque_val< _Val_types >::_Mysize

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