_GLIBCXX_STD::_List_base< _Tp, _Alloc > Class Template Reference

#include <stl_list.h>

Inheritance diagram for _GLIBCXX_STD::_List_base< _Tp, _Alloc >:

_GLIBCXX_STD::list< _Tp, _Alloc > List of all members.

Public Types

typedef _Alloc allocator_type

Public Member Functions

_Tp_alloc_type _M_get_Tp_allocator () const
allocator_type get_allocator () const
 _List_base (const allocator_type &__a)
 ~_List_base ()
void _M_clear ()
void _M_init ()

Protected Types

typedef _Alloc::template rebind<
_List_node< _Tp > >::other 
_Node_alloc_type
typedef _Alloc::template rebind<
_Tp >::other 
_Tp_alloc_type

Protected Member Functions

_List_node< _Tp > * _M_get_node ()
void _M_put_node (_List_node< _Tp > *__p)

Protected Attributes

_List_impl _M_impl

Classes

struct  _List_impl

Detailed Description

template<typename _Tp, typename _Alloc>
class _GLIBCXX_STD::_List_base< _Tp, _Alloc >

Definition at line 281 of file stl_list.h.


Member Typedef Documentation

template<typename _Tp, typename _Alloc>
typedef _Alloc::template rebind<_List_node<_Tp> >::other _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_Node_alloc_type [protected]

Definition at line 298 of file stl_list.h.

template<typename _Tp, typename _Alloc>
typedef _Alloc::template rebind<_Tp>::other _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_Tp_alloc_type [protected]

Reimplemented in _GLIBCXX_STD::list< _Tp, _Alloc >, and _GLIBCXX_STD::list< _Tp, _Allocator >.

Definition at line 300 of file stl_list.h.

template<typename _Tp, typename _Alloc>
typedef _Alloc _GLIBCXX_STD::_List_base< _Tp, _Alloc >::allocator_type

Reimplemented in _GLIBCXX_STD::list< _Tp, _Alloc >, __gnu_debug_def::list< _Tp, _Allocator >, and _GLIBCXX_STD::list< _Tp, _Allocator >.

Definition at line 323 of file stl_list.h.


Constructor & Destructor Documentation

template<typename _Tp, typename _Alloc>
_GLIBCXX_STD::_List_base< _Tp, _Alloc >::_List_base ( const allocator_type __a  )  [inline]

Definition at line 333 of file stl_list.h.

template<typename _Tp, typename _Alloc>
_GLIBCXX_STD::_List_base< _Tp, _Alloc >::~_List_base (  )  [inline]

Definition at line 338 of file stl_list.h.


Member Function Documentation

template<typename _Tp, typename _Alloc>
void _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_clear (  ) 

Definition at line 69 of file list.tcc.

References _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_get_Tp_allocator(), _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_impl, _GLIBCXX_STD::_List_node_base::_M_next, _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_List_impl::_M_node, and _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_put_node().

Referenced by _GLIBCXX_STD::_List_base< _Tp, _Allocator >::~_List_base().

template<typename _Tp, typename _Alloc>
_List_node<_Tp>* _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_get_node (  )  [inline, protected]

Definition at line 315 of file stl_list.h.

Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::_M_create_node().

template<typename _Tp, typename _Alloc>
_Tp_alloc_type _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_get_Tp_allocator (  )  const [inline]

Definition at line 326 of file stl_list.h.

Referenced by _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_clear(), _GLIBCXX_STD::list< _Tp, _Allocator >::_M_create_node(), _GLIBCXX_STD::list< _Tp, _Allocator >::_M_erase(), and _GLIBCXX_STD::_List_base< _Tp, _Allocator >::get_allocator().

template<typename _Tp, typename _Alloc>
void _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_init (  )  [inline]

Definition at line 345 of file stl_list.h.

Referenced by _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_List_base().

template<typename _Tp, typename _Alloc>
void _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_put_node ( _List_node< _Tp > *  __p  )  [inline, protected]

Definition at line 319 of file stl_list.h.

Referenced by _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_clear(), _GLIBCXX_STD::list< _Tp, _Allocator >::_M_create_node(), and _GLIBCXX_STD::list< _Tp, _Allocator >::_M_erase().

template<typename _Tp, typename _Alloc>
allocator_type _GLIBCXX_STD::_List_base< _Tp, _Alloc >::get_allocator (  )  const [inline]

Reimplemented in _GLIBCXX_STD::list< _Tp, _Alloc >, and _GLIBCXX_STD::list< _Tp, _Allocator >.

Definition at line 330 of file stl_list.h.


Member Data Documentation

template<typename _Tp, typename _Alloc>
_List_impl _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_impl [protected]

Definition at line 312 of file stl_list.h.

Referenced by _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_clear(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_get_node(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_get_Tp_allocator(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_init(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_put_node(), _GLIBCXX_STD::list< _Tp, _Allocator >::empty(), _GLIBCXX_STD::list< _Tp, _Allocator >::reverse(), and _GLIBCXX_STD::list< _Tp, _Allocator >::swap().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 16:58:21 2010 for GNU C++ STL by  doxygen 1.4.7