vector Class Reference

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

Link against: glxfullscreenview.lib

class vector : public _Vector_base

Inherits from

Public Member Type Definitions
typedef random_access_iterator_tag _Iterator_category
typedef _Vector_base< _Tp, _Alloc >::allocator_type allocator_type
typedefconst value_type * const_iterator
typedefconst value_type * const_pointer
typedefconst value_type & const_reference
typedef ptrdiff_t difference_type
typedef value_type * iterator
typedef value_type * pointer
typedef value_type & reference
typedef size_t size_type
typedef_Tp value_type
Protected Member Type Definitions
typedef __type_traits< _Tp >::has_trivial_assignment_operator _IsPODType
typedef __type_traits< _Tp >::has_trivial_assignment_operator _TrivialAss
Public Attributes
_STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS
Public Member Functions
vector(const allocator_type &)
vector(size_type, const _Tp &, const allocator_type &)
vector(size_type)
vector(const vector< _Tp, _Alloc > &)
vector(_InputIterator, _InputIterator, const allocator_type &__a)
~vector()
void_M_assign_aux(_ForwardIter, _ForwardIter, const forward_iterator_tag &)
void_M_assign_aux(_InputIter, _InputIter, const input_iterator_tag &)
void_M_assign_dispatch(_Integer, _Integer, const __true_type &)
void_M_assign_dispatch(_InputIter, _InputIter, const __false_type &)
void_M_fill_assign(size_type, const _Tp &)
void_M_fill_insert(iterator, size_type, const _Tp &)
void_M_initialize_aux(_Integer, _Integer, const __true_type &)
void_M_initialize_aux(_InputIterator, _InputIterator, const __false_type &)
void_M_insert_dispatch(iterator, _Integer, _Integer, const __true_type &)
void_M_insert_dispatch(iterator, _InputIterator, _InputIterator, const __false_type &)
void_M_range_insert(iterator, _InputIterator, _InputIterator, const input_iterator_tag &)
void_M_range_insert(iterator, _ForwardIterator, _ForwardIterator, const forward_iterator_tag &)
voidassign(size_type, const _Tp &)
voidassign(_InputIterator, _InputIterator)
reference at(size_type)
const_reference at(size_type)
reference back()
const_reference back()
iterator begin()
const_iterator begin()
size_type capacity()
voidclear()
boolempty()
iterator end()
const_iterator end()
iterator erase(iterator)
iterator erase(iterator, iterator)
reference front()
const_reference front()
allocator_type get_allocator()
iterator insert(iterator, const _Tp &)
iterator insert(iterator)
voidinsert(iterator, _InputIterator, _InputIterator)
voidinsert(iterator, size_type, const _Tp &)
size_type max_size()
vector< _Tp, _Alloc > &operator=(const vector< _Tp, _Alloc > &)
reference operator[](size_type)
const_reference operator[](size_type)
voidpop_back()
voidpush_back(const _Tp &)
voidpush_back()
reverse_iterator rbegin()
const_reverse_iteratorrbegin()
reverse_iterator rend()
const_reverse_iteratorrend()
voidreserve(size_type)
voidresize(size_type, _Tp)
voidresize(size_type)
size_type size()
voidswap(vector< _Tp, _Alloc > &)
Protected Member Functions
pointer _M_allocate_and_copy(size_type, _ForwardIterator, _ForwardIterator)
void_M_clear()
void_M_insert_overflow(pointer, const _Tp &, const __false_type &, size_type, bool)
void_M_insert_overflow(pointer, const _Tp &, const __true_type &, size_type, bool)
void_M_range_check(size_type)
void_M_range_initialize(_InputIterator, _InputIterator, const input_iterator_tag &)
void_M_range_initialize(_ForwardIterator, _ForwardIterator, const forward_iterator_tag &)
void_M_set(pointer, pointer, pointer)
Inherited Attributes
_Vector_base::_M_end_of_storage
_Vector_base::_M_finish
_Vector_base::_M_start
Inherited Functions
_Vector_base::_Vector_base(const _Alloc &)
_Vector_base::_Vector_base(size_t,const _Alloc &)
_Vector_base::~_Vector_base()

Member Type Definition Documentation

Typedef _IsPODType

typedef __type_traits< _Tp >::has_trivial_assignment_operator_IsPODType[protected]

Typedef _Iterator_category

typedef random_access_iterator_tag _Iterator_category

Typedef _TrivialAss

typedef __type_traits< _Tp >::has_trivial_assignment_operator_TrivialAss[protected]

Typedef allocator_type

typedef _Vector_base< _Tp, _Alloc >::allocator_typeallocator_type

Typedef const_iterator

typedef const value_type *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 value_type *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

_STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS

_STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS

Constructor & Destructor Documentation

vector ( const allocator_type & )

vector(const allocator_type &__a =  allocator_type())[inline]

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

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

vector ( size_type )

vector(size_type__n)[inline, explicit]

vector ( const vector< _Tp, _Alloc > & )

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

vector ( _InputIterator, _InputIterator, const allocator_type &__a )

vector(_InputIterator__first,
_InputIterator__last,
const allocator_type &__a_STLP_ALLOCATOR_TYPE_DFL
)[inline]

~vector ( )

~vector()[inline]

Member Function Documentation

_M_allocate_and_copy ( size_type, _ForwardIterator, _ForwardIterator )

pointer _M_allocate_and_copy(size_type__n,
_ForwardIterator__first,
_ForwardIterator__last
)[protected, inline]

_M_assign_aux ( _ForwardIter, _ForwardIter, const forward_iterator_tag & )

void_M_assign_aux(_ForwardIter__first,
_ForwardIter__last,
const forward_iterator_tag &
)[inline]

_M_assign_aux ( _InputIter, _InputIter, const input_iterator_tag & )

void_M_assign_aux(_InputIter__first,
_InputIter__last,
const input_iterator_tag &
)[inline]

_M_assign_dispatch ( _Integer, _Integer, const __true_type & )

void_M_assign_dispatch(_Integer__n,
_Integer__val,
const __true_type &
)[inline]

_M_assign_dispatch ( _InputIter, _InputIter, const __false_type & )

void_M_assign_dispatch(_InputIter__first,
_InputIter__last,
const __false_type &
)[inline]

_M_clear ( )

void_M_clear()[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
)

_M_initialize_aux ( _Integer, _Integer, const __true_type & )

void_M_initialize_aux(_Integer__n,
_Integer__val,
const __true_type &
)[inline]

_M_initialize_aux ( _InputIterator, _InputIterator, const __false_type & )

void_M_initialize_aux(_InputIterator__first,
_InputIterator__last,
const __false_type &
)[inline]

_M_insert_dispatch ( iterator, _Integer, _Integer, const __true_type & )

void_M_insert_dispatch(iterator__pos,
_Integer__n,
_Integer__val,
const __true_type &
)[inline]

_M_insert_dispatch ( iterator, _InputIterator, _InputIterator, const __false_type & )

void_M_insert_dispatch(iterator__pos,
_InputIterator__first,
_InputIterator__last,
const __false_type &
)[inline]

_M_insert_overflow ( pointer, const _Tp &, const __false_type &, size_type, bool )

void_M_insert_overflow(pointer__position,
const _Tp &__x,
const __false_type &,
size_type__fill_len,
bool__atend = false
)[protected, inline]

_M_insert_overflow ( pointer, const _Tp &, const __true_type &, size_type, bool )

void_M_insert_overflow(pointer__position,
const _Tp &__x,
const __true_type &,
size_type__fill_len,
bool__atend = false
)[protected, inline]

_M_range_check ( size_type )

void_M_range_check(size_type__n)const [protected, inline]

_M_range_initialize ( _InputIterator, _InputIterator, const input_iterator_tag & )

void_M_range_initialize(_InputIterator__first,
_InputIterator__last,
const input_iterator_tag &
)[protected, inline]

_M_range_initialize ( _ForwardIterator, _ForwardIterator, const forward_iterator_tag & )

void_M_range_initialize(_ForwardIterator__first,
_ForwardIterator__last,
const forward_iterator_tag &
)[protected, inline]

_M_range_insert ( iterator, _InputIterator, _InputIterator, const input_iterator_tag & )

void_M_range_insert(iterator__pos,
_InputIterator__first,
_InputIterator__last,
const input_iterator_tag &
)[inline]

_M_range_insert ( iterator, _ForwardIterator, _ForwardIterator, const forward_iterator_tag & )

void_M_range_insert(iterator__position,
_ForwardIterator__first,
_ForwardIterator__last,
const forward_iterator_tag &
)[inline]

_M_set ( pointer, pointer, pointer )

void_M_set(pointer__s,
pointer__f,
pointer__e
)[protected, inline]

assign ( size_type, const _Tp & )

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

assign ( _InputIterator, _InputIterator )

voidassign(_InputIterator__first,
_InputIterator__last
)[inline]

at ( size_type )

reference at(size_type__n)[inline]

at ( size_type )

const_reference at(size_type__n)const [inline]

back ( )

reference back()[inline]

back ( )

const_reference back()const [inline]

begin ( )

iterator begin()[inline]

begin ( )

const_iterator begin()const [inline]

capacity ( )

size_type capacity()const [inline]

clear ( )

voidclear()[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]

get_allocator ( )

allocator_type get_allocator()const [inline]

insert ( iterator, const _Tp & )

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

insert ( iterator )

iterator insert(iterator__position)[inline]

insert ( iterator, _InputIterator, _InputIterator )

voidinsert(iterator__pos,
_InputIterator__first,
_InputIterator__last
)[inline]

insert ( iterator, size_type, const _Tp & )

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

max_size ( )

size_type max_size()const [inline]

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

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

operator[] ( size_type )

reference operator[](size_type__n)[inline]

operator[] ( size_type )

const_reference operator[](size_type__n)const [inline]

pop_back ( )

voidpop_back()[inline]

push_back ( const _Tp & )

voidpush_back(const _Tp &__x)[inline]

push_back ( )

voidpush_back()[inline]

rbegin ( )

reverse_iterator rbegin()[inline]

rbegin ( )

const_reverse_iteratorrbegin()const [inline]

rend ( )

reverse_iterator rend()[inline]

rend ( )

const_reverse_iteratorrend()const [inline]

reserve ( size_type )

voidreserve(size_type__n)

resize ( size_type, _Tp )

voidresize(size_type__new_size,
_Tp__x
)[inline]

resize ( size_type )

voidresize(size_type__new_size)[inline]

size ( )

size_type size()const [inline]

swap ( vector< _Tp, _Alloc > & )

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