Whole document tree
    

Whole document tree

Templatestd::_Vector_alloc_base class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic > Class Template Reference

#include <stl_vector.h>

Inheritance diagram for std::_Vector_alloc_base:

Inheritance graph
[legend]
Collaboration diagram for std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _Alloc_traits< _Tp,
_Allocator >::allocator_type 
allocator_type

Public Methods

allocator_type get_allocator () const
 _Vector_alloc_base (const allocator_type &__a)

Protected Methods

_Tp * _M_allocate (size_t __n)
void _M_deallocate (_Tp *__p, size_t __n)

Protected Attributes

allocator_type _M_data_allocator
_Tp * _M_start
_Tp * _M_finish
_Tp * _M_end_of_storage

template<class _Tp, class _Allocator, bool _IsStatic>
class std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >


Member Typedef Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
typedef _Alloc_traits<_Tp, _Allocator>::allocator_type std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::allocator_type
 

Reimplemented in std::_Vector_base< _Tp, _Alloc >, std::vector< _Tp, _Alloc >, std::_Vector_base< _Node *, _Alloc >, and std::vector< _Node *, _Alloc >.

Definition at line 81 of file stl_vector.h.

Referenced by std::_Vector_alloc_base< _Tp, _Allocator, true >::get_allocator().


Constructor & Destructor Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::_Vector_alloc_base const allocator_type   __a [inline]
 

Definition at line 84 of file stl_vector.h.


Member Function Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp* std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::_M_allocate size_t    __n [inline, protected]
 

Definition at line 94 of file stl_vector.h.

template<class _Tp, class _Allocator, bool _IsStatic>
void std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::_M_deallocate _Tp *    __p,
size_t    __n
[inline, protected]
 

Definition at line 96 of file stl_vector.h.

template<class _Tp, class _Allocator, bool _IsStatic>
allocator_type std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::get_allocator   const [inline]
 

Reimplemented in std::vector< _Tp, _Alloc >, and std::vector< _Node *, _Alloc >.

Definition at line 82 of file stl_vector.h.


Member Data Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
allocator_type std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::_M_data_allocator [protected]
 

Definition at line 89 of file stl_vector.h.

Referenced by std::_Vector_alloc_base< _Node *, _Alloc, _Alloc_traits< _Node *, _Alloc >::_S_instanceless >::_M_allocate(), std::_Vector_alloc_base< _Node *, _Alloc, _Alloc_traits< _Node *, _Alloc >::_S_instanceless >::_M_deallocate(), std::_Vector_alloc_base< _Node *, _Alloc, _Alloc_traits< _Node *, _Alloc >::_S_instanceless >::_Vector_alloc_base(), and std::_Vector_alloc_base< _Node *, _Alloc, _Alloc_traits< _Node *, _Alloc >::_S_instanceless >::get_allocator().

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp* std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::_M_end_of_storage [protected]
 

Definition at line 92 of file stl_vector.h.

Referenced by std::_Vector_alloc_base< _Tp, _Allocator, true >::_Vector_alloc_base(), and std::_Vector_alloc_base< _Node *, _Alloc, _Alloc_traits< _Node *, _Alloc >::_S_instanceless >::_Vector_alloc_base().

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp* std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::_M_finish [protected]
 

Definition at line 91 of file stl_vector.h.

Referenced by std::_Vector_alloc_base< _Tp, _Allocator, true >::_Vector_alloc_base(), and std::_Vector_alloc_base< _Node *, _Alloc, _Alloc_traits< _Node *, _Alloc >::_S_instanceless >::_Vector_alloc_base().

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp* std::_Vector_alloc_base< _Tp, _Allocator, _IsStatic >::_M_start [protected]
 

Definition at line 90 of file stl_vector.h.

Referenced by std::_Vector_alloc_base< _Tp, _Allocator, true >::_Vector_alloc_base(), and std::_Vector_alloc_base< _Node *, _Alloc, _Alloc_traits< _Node *, _Alloc >::_S_instanceless >::_Vector_alloc_base().


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:17:57 2002 for libstdc++-v3 Source by doxygen1.2.15