list Class Reference

#include <stdapis/stlport/stl/_list.h>

class list : public _List_base

Inherits from

Public Member Type Definitions
typedef _List_node< _Tp > _Node
typedef _List_iterator< _Tp, _Const_traits< _Tp > > const_iterator
typedefconst value_type * const_pointer
typedefconst value_type & const_reference
typedef ptrdiff_t difference_type
typedef _List_iterator< _Tp, _Nonconst_traits< _Tp > > iterator
typedef value_type * pointer
typedef value_type & reference
typedef size_t size_type
typedef_Tp value_type
Public Attributes
_STLP_FORCE_ALLOCATORS(_Tp, _Alloc) typedef typename _Base typedef bidirectional_iterator_tag_Iterator_category
_STLP_DECLARE_BIDIRECTIONAL_REVERSE_ITERATORS
Public Member Functions
list(const allocator_type &)
list(size_type, const _Tp &, const allocator_type &)
list(size_type)
list(const _Tp *, const _Tp *, const allocator_type &)
list(const_iterator, const_iterator, const allocator_type &)
list(const list< _Tp, _Alloc > &)
list()
void_M_fill_assign(size_type, const _Tp &)
void_M_fill_insert(iterator, size_type, const _Tp &)
voidassign(size_type, const _Tp &)
reference back()
const_reference back()
iterator begin()
const_iterator begin()
boolempty()
iterator end()
const_iterator end()
iterator erase(iterator)
iterator erase(iterator, iterator)
reference front()
const_reference front()
iterator insert(iterator, const _Tp &)
voidinsert(iterator, const _Tp *, const _Tp *)
voidinsert(iterator, const_iterator, const_iterator)
voidinsert(iterator, size_type, const _Tp &)
iterator insert(iterator)
size_type max_size()
voidmerge(_Self &)
list< _Tp, _Alloc > &operator=(const list< _Tp, _Alloc > &)
voidpop_back()
voidpop_front()
voidpush_back(const _Tp &)
voidpush_back()
voidpush_front(const _Tp &)
voidpush_front()
reverse_iterator rbegin()
const_reverse_iteratorrbegin()
voidremove(const _Tp &)
reverse_iterator rend()
const_reverse_iteratorrend()
voidresize(size_type, _Tp)
voidresize(size_type)
voidreverse()
size_type size()
voidsort()
voidsplice(iterator, _Self &)
voidsplice(iterator, _Self &, iterator)
voidsplice(iterator, _Self &, iterator, iterator)
voidswap(list< _Tp, _Alloc > &)
voidunique()
Protected Member Functions
_Node *_M_create_node(const _Tp &)
_Node *_M_create_node()
Inherited Attributes
_List_base::_M_node
Inherited Functions
_List_base::_List_base(const allocator_type &)
_List_base::_STLP_FORCE_ALLOCATORS(_Tp,_Alloc)
_List_base::clear()
_List_base::get_allocator()const
_List_base::~_List_base()
Inherited Type Definitions
_List_base::_Node_allocator_type
_List_base::allocator_type

Member Type Definition Documentation

Typedef _Node

typedef _List_node< _Tp >_Node

Typedef const_iterator

typedef _List_iterator< _Tp, _Const_traits< _Tp > >const_iterator

Typedef const_pointer

typedef const value_type *const_pointer

Typedef const_reference

typedef const value_type &const_reference

Typedef difference_type

typedef ptrdiff_t difference_type

Typedef iterator

typedef _List_iterator< _Tp, _Nonconst_traits< _Tp > >iterator

Typedef pointer

typedef value_type *pointer

Typedef reference

typedef value_type &reference

Typedef size_type

typedef size_t size_type

Typedef value_type

typedef _Tpvalue_type

Member Attribute Documentation

_Iterator_category

_STLP_FORCE_ALLOCATORS(_Tp, _Alloc) typedef typename _Base typedef bidirectional_iterator_tag_Iterator_category

_STLP_DECLARE_BIDIRECTIONAL_REVERSE_ITERATORS

_STLP_DECLARE_BIDIRECTIONAL_REVERSE_ITERATORS

Constructor & Destructor Documentation

list ( const allocator_type & )

__WORKAROUND_DBG_RENAME()list(const allocator_type &__a =  allocator_type())[inline, explicit]

list ( size_type, const _Tp &, const allocator_type & )

__WORKAROUND_DBG_RENAME()list(size_type__n,
const _Tp &__val,
const allocator_type &__a =  allocator_type()
)[inline]

list ( size_type )

__WORKAROUND_DBG_RENAME()list(size_type__n)[inline, explicit]

list ( const _Tp *, const _Tp *, const allocator_type & )

__WORKAROUND_DBG_RENAME()list(const _Tp *__first,
const _Tp *__last,
const allocator_type &__a =  allocator_type()
)[inline]

list ( const_iterator, const_iterator, const allocator_type & )

__WORKAROUND_DBG_RENAME()list(const_iterator__first,
const_iterator__last,
const allocator_type &__a =  allocator_type()
)[inline]

list ( const list< _Tp, _Alloc > & )

__WORKAROUND_DBG_RENAME()list(const list< _Tp, _Alloc > &__x)[inline]

list ( )

~__WORKAROUND_DBG_RENAME()list()[inline]

Member Function Documentation

_M_create_node ( const _Tp & )

_Node *_M_create_node(const _Tp &__x)[protected, inline]

_M_create_node ( )

_Node *_M_create_node()[protected, inline]

_M_fill_assign ( size_type, const _Tp & )

void_M_fill_assign(size_type__n,
const _Tp &__val
)

_M_fill_insert ( iterator, size_type, const _Tp & )

void_M_fill_insert(iterator__pos,
size_type__n,
const _Tp &__x
)[inline]

assign ( size_type, const _Tp & )

voidassign(size_type__n,
const _Tp &__val
)[inline]

back ( )

reference back()[inline]

back ( )

const_reference back()const [inline]

begin ( )

iterator begin()[inline]

begin ( )

const_iterator begin()const [inline]

empty ( )

boolempty()const [inline]

end ( )

iterator end()[inline]

end ( )

const_iterator end()const [inline]

erase ( iterator )

iterator erase(iterator__position)[inline]

erase ( iterator, iterator )

iterator erase(iterator__first,
iterator__last
)[inline]

front ( )

reference front()[inline]

front ( )

const_reference front()const [inline]

insert ( iterator, const _Tp & )

iterator insert(iterator__position,
const _Tp &__x
)[inline]

insert ( iterator, const _Tp *, const _Tp * )

voidinsert(iterator__position,
const _Tp *__first,
const _Tp *__last
)[inline]

insert ( iterator, const_iterator, const_iterator )

voidinsert(iterator__position,
const_iterator__first,
const_iterator__last
)[inline]

insert ( iterator, size_type, const _Tp & )

voidinsert(iterator__pos,
size_type__n,
const _Tp &__x
)[inline]

insert ( iterator )

iterator insert(iterator__position)[inline]

max_size ( )

size_type max_size()const [inline]

merge ( _Self & )

voidmerge(_Self &__x)[inline]

operator= ( const list< _Tp, _Alloc > & )

list< _Tp, _Alloc > &operator=(const list< _Tp, _Alloc > &__x)

pop_back ( )

voidpop_back()[inline]

pop_front ( )

voidpop_front()[inline]

push_back ( const _Tp & )

voidpush_back(const _Tp &__x)[inline]

push_back ( )

voidpush_back()[inline]

push_front ( const _Tp & )

voidpush_front(const _Tp &__x)[inline]

push_front ( )

voidpush_front()[inline]

rbegin ( )

reverse_iterator rbegin()[inline]

rbegin ( )

const_reverse_iteratorrbegin()const [inline]

remove ( const _Tp & )

voidremove(const _Tp &__val)[inline]

rend ( )

reverse_iterator rend()[inline]

rend ( )

const_reverse_iteratorrend()const [inline]

resize ( size_type, _Tp )

voidresize(size_type__new_size,
_Tp__x
)

resize ( size_type )

voidresize(size_type__new_size)[inline]

reverse ( )

voidreverse()[inline]

size ( )

size_type size()const [inline]

sort ( )

voidsort()[inline]

splice ( iterator, _Self & )

voidsplice(iterator__position,
_Self &__x
)[inline]

splice ( iterator, _Self &, iterator )

voidsplice(iterator__position,
_Self &,
iterator__i
)[inline]

splice ( iterator, _Self &, iterator, iterator )

voidsplice(iterator__position,
_Self &,
iterator__first,
iterator__last
)[inline]

swap ( list< _Tp, _Alloc > & )

voidswap(list< _Tp, _Alloc > &__x)[inline]

unique ( )

voidunique()[inline]