STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::BIDArray< BlockSize > Class Template Reference

Detailed Description

template<unsigned BlockSize>
class stxxl::BIDArray< BlockSize >

Definition at line 145 of file bid.h.

+ Inheritance diagram for stxxl::BIDArray< BlockSize >:
+ Collaboration diagram for stxxl::BIDArray< BlockSize >:

Public Member Functions

 BIDArray ()
 
 BIDArray (unsigned_type size)
 
- Public Member Functions inherited from stxxl::simple_vector< BID< BlockSize > >
 simple_vector ()
 allocate empty simple vector More...
 
 simple_vector (size_type sz)
 allocate vector's memory More...
 
 ~simple_vector ()
 delete vector More...
 
iterator begin ()
 return mutable iterator to first element More...
 
const_iterator begin () const
 return constant iterator to first element More...
 
const_iterator cbegin () const
 return constant iterator to first element More...
 
const_iterator cend () const
 return constant iterator beyond last element More...
 
iterator data ()
 return iterator to beginning of vector More...
 
const_iterator data () const
 return iterator to beginning of vector More...
 
iterator end ()
 return mutable iterator beyond last element More...
 
const_iterator end () const
 return constant iterator beyond last element More...
 
void memzero ()
 Zero the whole array content. More...
 
reference operator[] (size_type i)
 return the i-th position of the vector More...
 
const_reference operator[] (size_type i) const
 return constant reference to the i-th position of the vector More...
 
void resize (size_type newsize)
 resize the array to contain exactly newsize items More...
 
size_type size () const
 return number of items in vector More...
 
void swap (simple_vector &obj)
 swap vector with another one More...
 

Additional Inherited Members

- Public Types inherited from stxxl::simple_vector< BID< BlockSize > >
typedef const value_typeconst_iterator
 
typedef const value_typeconst_reference
 
typedef value_typeiterator
 
typedef value_typereference
 
typedef size_t size_type
 
typedef BID< BlockSize > value_type
 
- Protected Attributes inherited from stxxl::simple_vector< BID< BlockSize > >
value_typem_array
 pointer to allocated memory area More...
 
size_type m_size
 size of allocated memory More...
 

Constructor & Destructor Documentation

template<unsigned BlockSize>
stxxl::BIDArray< BlockSize >::BIDArray ( )
inline

Definition at line 148 of file bid.h.

template<unsigned BlockSize>
stxxl::BIDArray< BlockSize >::BIDArray ( unsigned_type  size)
inline

Definition at line 152 of file bid.h.


The documentation for this class was generated from the following file: