__BVECTOR_QUALIFIED Class Reference

#include <_bvector.h>

List of all members.

Public Types

typedef bool value_type
typedef size_t size_type
typedef ptrdiff_t difference_type
typedef _STLP_PRIV _Bit_reference reference
typedef bool const_reference
typedef _STLP_PRIV _Bit_referencepointer
typedef const bool * const_pointer
typedef random_access_iterator_tag _Iterator_category
typedef _STLP_PRIV _Bit_iterator iterator
typedef _STLP_PRIV _Bit_const_iterator const_iterator
typedef _STLP_PRIV _Bvector_base<
_Alloc >::allocator_type 
allocator_type
typedef _STLP_PRIV _Bvector_base<
_Alloc >::__chunk_type 
__chunk_type

Public Member Functions

iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
size_type size () const
size_type max_size () const
size_type capacity () const
bool empty () const
reference operator[] (size_type __n)
const_reference operator[] (size_type __n) const
void _M_range_check (size_type __n) const
reference at (size_type __n)
const_reference at (size_type __n) const
 __BVECTOR (const allocator_type &__a=allocator_type())
 __BVECTOR (size_type __n, bool __val, const allocator_type &__a=allocator_type())
 __BVECTOR (size_type __n)
 __BVECTOR (const _Self &__x)
 __BVECTOR (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type())
 __BVECTOR (const bool *__first, const bool *__last, const allocator_type &__a=allocator_type())
 __BVECTOR (__move_source< _Self > src)
 ~__BVECTOR ()
__BVECTOR_QUALIFIEDoperator= (const __BVECTOR_QUALIFIED &__x)
void _M_fill_assign (size_t __n, bool __x)
void assign (size_t __n, bool __x)
void reserve (size_type __n)
reference front ()
const_reference front () const
reference back ()
const_reference back () const
void push_back (bool __x)
void swap (__BVECTOR_QUALIFIED &__x)
iterator insert (iterator __position, bool __x=bool())
void insert (iterator __position, const_iterator __first, const_iterator __last)
void insert (iterator __position, const bool *__first, const bool *__last)
void _M_fill_insert (iterator __position, size_type __n, bool __x)
void insert (iterator __position, size_type __n, bool __x)
void pop_back ()
iterator erase (iterator __position)
iterator erase (iterator __first, iterator __last)
void resize (size_type __new_size, bool __x=bool())
void flip ()
void clear ()

Public Attributes

 _STLP_DECLARE_RANDOM_ACCESS_REVERSE_ITERATORS

Protected Member Functions

void _M_initialize (size_type __n)
void _M_insert_aux (iterator __position, bool __x)


Detailed Description

Definition at line 360 of file _bvector.h.


Member Typedef Documentation

Definition at line 368 of file _bvector.h.

Definition at line 369 of file _bvector.h.

Definition at line 370 of file _bvector.h.

Definition at line 371 of file _bvector.h.

Definition at line 372 of file _bvector.h.

Definition at line 373 of file _bvector.h.

Definition at line 374 of file _bvector.h.

Definition at line 377 of file _bvector.h.

Definition at line 378 of file _bvector.h.

Definition at line 386 of file _bvector.h.

Definition at line 387 of file _bvector.h.


Constructor & Destructor Documentation

__BVECTOR_QUALIFIED::~__BVECTOR (  )  [inline]

Definition at line 579 of file _bvector.h.


Member Function Documentation

void __BVECTOR_QUALIFIED::_M_initialize ( size_type  __n  )  [inline, protected]

Definition at line 392 of file _bvector.h.

References _STLP_WORD_BIT.

Referenced by __BVECTOR(), and operator=().

void __BVECTOR_QUALIFIED::_M_insert_aux ( iterator  __position,
bool  __x 
) [inline, protected]

Definition at line 398 of file _bvector.h.

References __copy_backward(), _STLP_PRIV, _STLP_WORD_BIT, begin(), copy(), end(), and size().

Referenced by insert(), and push_back().

iterator __BVECTOR_QUALIFIED::begin (  )  [inline]

const_iterator __BVECTOR_QUALIFIED::begin (  )  const [inline]

Definition at line 475 of file _bvector.h.

iterator __BVECTOR_QUALIFIED::end (  )  [inline]

const_iterator __BVECTOR_QUALIFIED::end (  )  const [inline]

Definition at line 477 of file _bvector.h.

reverse_iterator __BVECTOR_QUALIFIED::rbegin (  )  [inline]

Definition at line 479 of file _bvector.h.

References end(), and reverse_iterator.

const_reverse_iterator __BVECTOR_QUALIFIED::rbegin (  )  const [inline]

Definition at line 480 of file _bvector.h.

References end().

reverse_iterator __BVECTOR_QUALIFIED::rend (  )  [inline]

Definition at line 483 of file _bvector.h.

References begin(), and reverse_iterator.

const_reverse_iterator __BVECTOR_QUALIFIED::rend (  )  const [inline]

Definition at line 484 of file _bvector.h.

References begin().

size_type __BVECTOR_QUALIFIED::size (  )  const [inline]

Definition at line 488 of file _bvector.h.

References begin(), and end().

Referenced by __BVECTOR(), _M_fill_assign(), _M_fill_insert(), _M_insert_aux(), insert(), operator=(), and resize().

size_type __BVECTOR_QUALIFIED::max_size (  )  const [inline]

Definition at line 489 of file _bvector.h.

Referenced by reserve().

size_type __BVECTOR_QUALIFIED::capacity (  )  const [inline]

Definition at line 490 of file _bvector.h.

References begin().

Referenced by _M_fill_insert(), insert(), operator=(), and reserve().

bool __BVECTOR_QUALIFIED::empty (  )  const [inline]

Definition at line 493 of file _bvector.h.

References begin(), and end().

reference __BVECTOR_QUALIFIED::operator[] ( size_type  __n  )  [inline]

Definition at line 494 of file _bvector.h.

References begin().

const_reference __BVECTOR_QUALIFIED::operator[] ( size_type  __n  )  const [inline]

Definition at line 496 of file _bvector.h.

References begin().

void __BVECTOR_QUALIFIED::_M_range_check ( size_type  __n  )  const [inline]

Definition at line 499 of file _bvector.h.

References __stl_throw_range_error().

Referenced by at().

reference __BVECTOR_QUALIFIED::at ( size_type  __n  )  [inline]

Definition at line 504 of file _bvector.h.

References _M_range_check().

const_reference __BVECTOR_QUALIFIED::at ( size_type  __n  )  const [inline]

Definition at line 506 of file _bvector.h.

References _M_range_check().

__BVECTOR_QUALIFIED::__BVECTOR ( const allocator_type __a = allocator_type()  )  [inline, explicit]

Definition at line 509 of file _bvector.h.

__BVECTOR_QUALIFIED::__BVECTOR ( size_type  __n,
bool  __val,
const allocator_type __a = allocator_type() 
) [inline]

Definition at line 512 of file _bvector.h.

References _M_initialize(), and fill().

__BVECTOR_QUALIFIED::__BVECTOR ( size_type  __n  )  [inline, explicit]

Definition at line 519 of file _bvector.h.

References _M_initialize(), and fill().

__BVECTOR_QUALIFIED::__BVECTOR ( const _Self __x  )  [inline]

Definition at line 525 of file _bvector.h.

References _M_initialize(), begin(), copy(), end(), and size().

__BVECTOR_QUALIFIED::__BVECTOR ( const_iterator  __first,
const_iterator  __last,
const allocator_type __a = allocator_type() 
) [inline]

Definition at line 560 of file _bvector.h.

References _M_initialize(), copy(), and distance().

__BVECTOR_QUALIFIED::__BVECTOR ( const bool *  __first,
const bool *  __last,
const allocator_type __a = allocator_type() 
) [inline]

Definition at line 567 of file _bvector.h.

References _M_initialize(), copy(), and distance().

__BVECTOR_QUALIFIED::__BVECTOR ( __move_source< _Self src  )  [inline]

Definition at line 576 of file _bvector.h.

__BVECTOR_QUALIFIED& __BVECTOR_QUALIFIED::operator= ( const __BVECTOR_QUALIFIED __x  )  [inline]

Definition at line 581 of file _bvector.h.

References _M_initialize(), begin(), capacity(), copy(), end(), and size().

void __BVECTOR_QUALIFIED::_M_fill_assign ( size_t  __n,
bool  __x 
) [inline]

Definition at line 597 of file _bvector.h.

References begin(), end(), erase(), fill(), insert(), and size().

Referenced by assign().

void __BVECTOR_QUALIFIED::assign ( size_t  __n,
bool  __x 
) [inline]

Definition at line 607 of file _bvector.h.

References _M_fill_assign().

void __BVECTOR_QUALIFIED::reserve ( size_type  __n  )  [inline]

reference __BVECTOR_QUALIFIED::front (  )  [inline]

Definition at line 664 of file _bvector.h.

References begin().

const_reference __BVECTOR_QUALIFIED::front (  )  const [inline]

Definition at line 665 of file _bvector.h.

References begin().

reference __BVECTOR_QUALIFIED::back (  )  [inline]

Definition at line 666 of file _bvector.h.

References end().

const_reference __BVECTOR_QUALIFIED::back (  )  const [inline]

Definition at line 667 of file _bvector.h.

References end().

void __BVECTOR_QUALIFIED::push_back ( bool  __x  )  [inline]

Definition at line 668 of file _bvector.h.

References _M_insert_aux(), and end().

void __BVECTOR_QUALIFIED::swap ( __BVECTOR_QUALIFIED __x  )  [inline]

Definition at line 676 of file _bvector.h.

References swap.

iterator __BVECTOR_QUALIFIED::insert ( iterator  __position,
bool  __x = bool() 
) [inline]

Definition at line 681 of file _bvector.h.

References _M_insert_aux(), begin(), and end().

Referenced by _M_fill_assign(), and resize().

void __BVECTOR_QUALIFIED::insert ( iterator  __position,
const_iterator  __first,
const_iterator  __last 
) [inline]

void __BVECTOR_QUALIFIED::insert ( iterator  __position,
const bool *  __first,
const bool *  __last 
) [inline]

void __BVECTOR_QUALIFIED::_M_fill_insert ( iterator  __position,
size_type  __n,
bool  __x 
) [inline]

void __BVECTOR_QUALIFIED::insert ( iterator  __position,
size_type  __n,
bool  __x 
) [inline]

Definition at line 779 of file _bvector.h.

References _M_fill_insert().

void __BVECTOR_QUALIFIED::pop_back (  )  [inline]

Definition at line 783 of file _bvector.h.

iterator __BVECTOR_QUALIFIED::erase ( iterator  __position  )  [inline]

Definition at line 786 of file _bvector.h.

References copy(), and end().

Referenced by _M_fill_assign(), clear(), and resize().

iterator __BVECTOR_QUALIFIED::erase ( iterator  __first,
iterator  __last 
) [inline]

Definition at line 792 of file _bvector.h.

References __last, copy(), and end().

void __BVECTOR_QUALIFIED::resize ( size_type  __new_size,
bool  __x = bool() 
) [inline]

Definition at line 796 of file _bvector.h.

References begin(), end(), erase(), insert(), and size().

void __BVECTOR_QUALIFIED::flip (  )  [inline]

Definition at line 802 of file _bvector.h.

void __BVECTOR_QUALIFIED::clear (  )  [inline]

Definition at line 807 of file _bvector.h.

References begin(), end(), and erase().


Member Data Documentation


The documentation for this class was generated from the following file:
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_bvector.h



Generated on Mon Mar 10 15:32:53 2008 by  doxygen 1.5.1