Whole document tree
    

Whole document tree

__BVECTOR class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

__BVECTOR Class Reference

#include <stl_bvector.h>

List of all members.

Public Types

typedef bool value_type
typedef size_t size_type
typedef ptrdiff_t difference_type
typedef _Bit_reference reference
typedef bool const_reference
typedef _Bit_referencepointer
typedef const bool * const_pointer
typedef _Bit_iterator iterator
typedef _Bit_const_iterator const_iterator
typedef reverse_iterator<
const_iterator, value_type,
const_reference, difference_type
const_reverse_iterator
typedef reverse_iterator<
iterator, value_type, reference,
difference_type
reverse_iterator
typedef __BVECTOR_BASE::allocator_type allocator_type

Public Methods

allocator_type get_allocator () const
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
 __VECTOR (const allocator_type &__a=allocator_type())
 __VECTOR (size_type __n, bool __value, const allocator_type &__a=allocator_type())
 __VECTOR (size_type __n)
 __VECTOR (const __VECTOR &__x)
 __VECTOR (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type())
 __VECTOR (const bool *__first, const bool *__last, const allocator_type &__a=allocator_type())
 ~__VECTOR ()
__VECTOR & operator= (const __VECTOR &__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 &__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 ()

Protected Methods

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


Member Typedef Documentation

typedef __BVECTOR_BASE::allocator_type __BVECTOR::allocator_type
 

Definition at line 399 of file ext/stl_bvector.h.

Referenced by __VECTOR(), and get_allocator().

typedef _Bit_const_iterator __BVECTOR::const_iterator
 

Definition at line 387 of file ext/stl_bvector.h.

Referenced by capacity().

typedef const bool* __BVECTOR::const_pointer
 

Definition at line 384 of file ext/stl_bvector.h.

typedef bool __BVECTOR::const_reference
 

Definition at line 382 of file ext/stl_bvector.h.

Referenced by back(), front(), and operator[]().

typedef reverse_iterator<const_iterator, value_type, const_reference, difference_type> __BVECTOR::const_reverse_iterator
 

Definition at line 394 of file ext/stl_bvector.h.

Referenced by rbegin(), and rend().

typedef ptrdiff_t __BVECTOR::difference_type
 

Definition at line 380 of file ext/stl_bvector.h.

Referenced by _M_fill_insert(), _M_initialize(), insert(), operator=(), operator[](), and resize().

typedef _Bit_iterator __BVECTOR::iterator
 

Definition at line 386 of file ext/stl_bvector.h.

Referenced by _M_fill_insert(), _M_initialize(), _M_insert_aux(), insert(), and reserve().

typedef _Bit_reference* __BVECTOR::pointer
 

Definition at line 383 of file ext/stl_bvector.h.

typedef _Bit_reference __BVECTOR::reference
 

Definition at line 381 of file ext/stl_bvector.h.

typedef reverse_iterator<iterator, value_type, reference, difference_type> __BVECTOR::reverse_iterator
 

Definition at line 396 of file ext/stl_bvector.h.

Referenced by rbegin(), and rend().

typedef size_t __BVECTOR::size_type
 

Definition at line 379 of file ext/stl_bvector.h.

Referenced by __VECTOR(), _M_fill_insert(), _M_initialize(), _M_insert_aux(), capacity(), insert(), max_size(), operator[](), reserve(), resize(), and size().

typedef bool __BVECTOR::value_type
 

Definition at line 378 of file ext/stl_bvector.h.


Constructor & Destructor Documentation

__BVECTOR::~__VECTOR   [inline]
 

Definition at line 605 of file ext/stl_bvector.h.


Member Function Documentation

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

Definition at line 593 of file ext/stl_bvector.h.

References __BVECTOR_BASE, _M_initialize(), allocator_type, std::copy(), distance(), and size_type.

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

Definition at line 584 of file ext/stl_bvector.h.

References __BVECTOR_BASE, _M_initialize(), allocator_type, std::copy(), distance(), and size_type.

__BVECTOR::__VECTOR const __VECTOR &    __x [inline]
 

Definition at line 552 of file ext/stl_bvector.h.

References __BVECTOR_BASE, __VECTOR(), _M_initialize(), std::copy(), and get_allocator().

__BVECTOR::__VECTOR size_type    __n [inline, explicit]
 

Definition at line 545 of file ext/stl_bvector.h.

References __BVECTOR_BASE, _M_initialize(), allocator_type, and size_type.

__BVECTOR::__VECTOR size_type    __n,
bool    __value,
const allocator_type   __a = allocator_type()
[inline]
 

Definition at line 537 of file ext/stl_bvector.h.

References __BVECTOR_BASE, _M_initialize(), allocator_type, and size_type.

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

Definition at line 534 of file ext/stl_bvector.h.

References __BVECTOR_BASE, and allocator_type.

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

void __BVECTOR::_M_fill_assign size_t    __n,
bool    __x
[inline]
 

Definition at line 623 of file ext/stl_bvector.h.

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

Referenced by assign().

void __BVECTOR::_M_fill_insert iterator    __position,
size_type    __n,
bool    __x
[inline]
 

Definition at line 783 of file ext/stl_bvector.h.

References __WORD_BIT, begin(), capacity(), std::copy(), std::copy_backward(), difference_type, end(), iterator, size(), and size_type.

Referenced by insert().

void __BVECTOR::_M_initialize size_type    __n [inline, protected]
 

Definition at line 414 of file ext/stl_bvector.h.

References __WORD_BIT, difference_type, iterator, and size_type.

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

void __BVECTOR::_M_insert_aux iterator    __position,
bool    __x
[inline, protected]
 

Definition at line 420 of file ext/stl_bvector.h.

References __WORD_BIT, begin(), std::copy(), std::copy_backward(), end(), iterator, size(), and size_type.

Referenced by insert(), and push_back().

void __BVECTOR::assign size_t    __n,
bool    __x
[inline]
 

Definition at line 634 of file ext/stl_bvector.h.

References _M_fill_assign().

const_reference __BVECTOR::back   const [inline]
 

Definition at line 694 of file ext/stl_bvector.h.

References const_reference, and end().

reference __BVECTOR::back   [inline]
 

Definition at line 693 of file ext/stl_bvector.h.

References end().

const_iterator __BVECTOR::begin   const [inline]
 

Definition at line 497 of file ext/stl_bvector.h.

iterator __BVECTOR::begin   [inline]
 

Definition at line 496 of file ext/stl_bvector.h.

Referenced by _M_fill_assign(), _M_fill_insert(), _M_insert_aux(), capacity(), clear(), empty(), front(), insert(), operator=(), operator[](), rend(), reserve(), resize(), and size().

size_type __BVECTOR::capacity   const [inline]
 

Definition at line 512 of file ext/stl_bvector.h.

References begin(), const_iterator, and size_type.

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

void __BVECTOR::clear   [inline]
 

Definition at line 828 of file ext/stl_bvector.h.

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

bool __BVECTOR::empty   const [inline]
 

Definition at line 515 of file ext/stl_bvector.h.

References begin(), and end().

const_iterator __BVECTOR::end   const [inline]
 

Definition at line 499 of file ext/stl_bvector.h.

iterator __BVECTOR::end   [inline]
 

Definition at line 498 of file ext/stl_bvector.h.

Referenced by _M_fill_assign(), _M_fill_insert(), _M_insert_aux(), back(), clear(), empty(), erase(), insert(), push_back(), rbegin(), reserve(), resize(), and size().

iterator __BVECTOR::erase iterator    __first,
iterator    __last
[inline]
 

Definition at line 813 of file ext/stl_bvector.h.

References std::copy(), and end().

iterator __BVECTOR::erase iterator    __position [inline]
 

Definition at line 807 of file ext/stl_bvector.h.

References std::copy(), and end().

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

void __BVECTOR::flip   [inline]
 

Definition at line 823 of file ext/stl_bvector.h.

const_reference __BVECTOR::front   const [inline]
 

Definition at line 692 of file ext/stl_bvector.h.

References begin(), and const_reference.

reference __BVECTOR::front   [inline]
 

Definition at line 691 of file ext/stl_bvector.h.

References begin().

allocator_type __BVECTOR::get_allocator   const [inline]
 

Definition at line 400 of file ext/stl_bvector.h.

References allocator_type.

Referenced by __VECTOR().

void __BVECTOR::insert iterator    __position,
size_type    __n,
bool    __x
[inline]
 

Definition at line 802 of file ext/stl_bvector.h.

References _M_fill_insert(), and size_type.

void __BVECTOR::insert iterator    __position,
const bool *    __first,
const bool *    __last
[inline]
 

Definition at line 761 of file ext/stl_bvector.h.

References __WORD_BIT, begin(), capacity(), std::copy(), std::copy_backward(), distance(), end(), iterator, size(), and size_type.

void __BVECTOR::insert iterator    __position,
const_iterator    __first,
const_iterator    __last
[inline]
 

Definition at line 739 of file ext/stl_bvector.h.

References __WORD_BIT, begin(), capacity(), std::copy(), std::copy_backward(), distance(), end(), iterator, size(), and size_type.

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

Definition at line 706 of file ext/stl_bvector.h.

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

Referenced by _M_fill_assign(), and resize().

size_type __BVECTOR::max_size   const [inline]
 

Definition at line 511 of file ext/stl_bvector.h.

References size_type.

__VECTOR& __BVECTOR::operator= const __VECTOR &    __x [inline]
 

Definition at line 607 of file ext/stl_bvector.h.

References __VECTOR(), _M_initialize(), begin(), capacity(), std::copy(), and difference_type.

const_reference __BVECTOR::operator[] size_type    __n const [inline]
 

Definition at line 519 of file ext/stl_bvector.h.

References begin(), const_reference, difference_type, and size_type.

reference __BVECTOR::operator[] size_type    __n [inline]
 

Definition at line 517 of file ext/stl_bvector.h.

References begin(), difference_type, and size_type.

void __BVECTOR::pop_back   [inline]
 

Definition at line 806 of file ext/stl_bvector.h.

void __BVECTOR::push_back bool    __x [inline]
 

Definition at line 695 of file ext/stl_bvector.h.

References _M_insert_aux(), and end().

const_reverse_iterator __BVECTOR::rbegin   const [inline]
 

Definition at line 502 of file ext/stl_bvector.h.

References const_reverse_iterator, and end().

reverse_iterator __BVECTOR::rbegin   [inline]
 

Definition at line 501 of file ext/stl_bvector.h.

References end(), and reverse_iterator.

const_reverse_iterator __BVECTOR::rend   const [inline]
 

Definition at line 506 of file ext/stl_bvector.h.

References begin(), and const_reverse_iterator.

reverse_iterator __BVECTOR::rend   [inline]
 

Definition at line 505 of file ext/stl_bvector.h.

References begin(), and reverse_iterator.

void __BVECTOR::reserve size_type    __n [inline]
 

Definition at line 681 of file ext/stl_bvector.h.

References __WORD_BIT, begin(), capacity(), std::copy(), end(), iterator, and size_type.

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

Definition at line 817 of file ext/stl_bvector.h.

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

size_type __BVECTOR::size   const [inline]
 

Definition at line 510 of file ext/stl_bvector.h.

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

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

void __BVECTOR::swap __BVECTOR &    __x [inline]
 

Definition at line 701 of file ext/stl_bvector.h.

References swap().


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:16:34 2002 for libstdc++-v3 Source by doxygen1.2.15