__gnu_cxx::_Slist_base< _Tp, _Alloc > Struct Template Reference

Inheritance diagram for __gnu_cxx::_Slist_base< _Tp, _Alloc >:

__gnu_cxx::slist< _Tp, _Alloc > List of all members.

Public Types

typedef _Alloc::template rebind<
_Slist_node< _Tp > >::other 
_Node_alloc
typedef _Alloc allocator_type

Public Member Functions

allocator_type get_allocator () const
 _Slist_base (const allocator_type &__a)
 ~_Slist_base ()

Protected Member Functions

_Slist_node< _Tp > * _M_get_node ()
void _M_put_node (_Slist_node< _Tp > *__p)
_Slist_node_base_M_erase_after (_Slist_node_base *__pos)
_Slist_node_base_M_erase_after (_Slist_node_base *, _Slist_node_base *)

Protected Attributes

_Slist_node_base _M_head

Detailed Description

template<class _Tp, class _Alloc>
struct __gnu_cxx::_Slist_base< _Tp, _Alloc >

Definition at line 228 of file slist.


Member Typedef Documentation

template<class _Tp, class _Alloc>
typedef _Alloc::template rebind<_Slist_node<_Tp> >::other __gnu_cxx::_Slist_base< _Tp, _Alloc >::_Node_alloc

Definition at line 232 of file slist.

template<class _Tp, class _Alloc>
typedef _Alloc __gnu_cxx::_Slist_base< _Tp, _Alloc >::allocator_type

Reimplemented in __gnu_cxx::slist< _Tp, _Alloc >.

Definition at line 233 of file slist.


Constructor & Destructor Documentation

template<class _Tp, class _Alloc>
__gnu_cxx::_Slist_base< _Tp, _Alloc >::_Slist_base ( const allocator_type __a  )  [inline]

Definition at line 239 of file slist.

References __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_head, and __gnu_cxx::_Slist_node_base::_M_next.

template<class _Tp, class _Alloc>
__gnu_cxx::_Slist_base< _Tp, _Alloc >::~_Slist_base (  )  [inline]

Definition at line 243 of file slist.

References __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after().


Member Function Documentation

template<class _Tp, class _Alloc>
_Slist_node_base * __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after ( _Slist_node_base ,
_Slist_node_base  
) [protected]

Definition at line 272 of file slist.

References __gnu_cxx::_Slist_node< _Tp >::_M_data, __gnu_cxx::_Slist_node_base::_M_next, __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_put_node(), and __gnu_cxx::_Slist_base< _Tp, _Alloc >::get_allocator().

template<class _Tp, class _Alloc>
_Slist_node_base* __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after ( _Slist_node_base __pos  )  [inline, protected]

Definition at line 258 of file slist.

References __gnu_cxx::_Slist_node< _Tp >::_M_data, __gnu_cxx::_Slist_node_base::_M_next, __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_put_node(), and __gnu_cxx::_Slist_base< _Tp, _Alloc >::get_allocator().

Referenced by __gnu_cxx::slist< _Tp, _Alloc >::_M_assign_dispatch(), __gnu_cxx::slist< _Tp, _Alloc >::_M_fill_assign(), __gnu_cxx::slist< _Tp, _Alloc >::clear(), __gnu_cxx::slist< _Tp, _Alloc >::remove(), __gnu_cxx::slist< _Tp, _Alloc >::remove_if(), __gnu_cxx::slist< _Tp, _Alloc >::resize(), __gnu_cxx::slist< _Tp, _Alloc >::unique(), and __gnu_cxx::_Slist_base< _Tp, _Alloc >::~_Slist_base().

template<class _Tp, class _Alloc>
_Slist_node<_Tp>* __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_get_node (  )  [inline, protected]

Definition at line 250 of file slist.

References allocate().

Referenced by __gnu_cxx::slist< _Tp, _Alloc >::_M_create_node().

template<class _Tp, class _Alloc>
void __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_put_node ( _Slist_node< _Tp > *  __p  )  [inline, protected]

Definition at line 254 of file slist.

References deallocate().

Referenced by __gnu_cxx::slist< _Tp, _Alloc >::_M_create_node(), __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after(), and __gnu_cxx::slist< _Tp, _Alloc >::pop_front().

template<class _Tp, class _Alloc>
allocator_type __gnu_cxx::_Slist_base< _Tp, _Alloc >::get_allocator (  )  const [inline]

Reimplemented in __gnu_cxx::slist< _Tp, _Alloc >.

Definition at line 236 of file slist.

Referenced by __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after().


Member Data Documentation

template<class _Tp, class _Alloc>
_Slist_node_base __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_head [protected]

Definition at line 247 of file slist.

Referenced by __gnu_cxx::slist< _Tp, _Alloc >::_M_assign_dispatch(), __gnu_cxx::slist< _Tp, _Alloc >::_M_fill_assign(), __gnu_cxx::_Slist_base< _Tp, _Alloc >::_Slist_base(), __gnu_cxx::slist< _Tp, _Alloc >::empty(), __gnu_cxx::slist< _Tp, _Alloc >::merge(), __gnu_cxx::slist< _Tp, _Alloc >::remove(), __gnu_cxx::slist< _Tp, _Alloc >::remove_if(), __gnu_cxx::slist< _Tp, _Alloc >::resize(), __gnu_cxx::slist< _Tp, _Alloc >::reverse(), __gnu_cxx::slist< _Tp, _Alloc >::sort(), __gnu_cxx::slist< _Tp, _Alloc >::splice(), __gnu_cxx::slist< _Tp, _Alloc >::splice_after(), __gnu_cxx::slist< _Tp, _Alloc >::swap(), and __gnu_cxx::slist< _Tp, _Alloc >::unique().


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