STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::BIDArray< BLK_SIZE > Class Template Reference

Detailed Description

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

Definition at line 146 of file bid.h.

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

Public Member Functions

 BIDArray ()
 
 BIDArray (unsigned_type size)
 
- Public Member Functions inherited from stxxl::simple_vector< BID< BLK_SIZE > >
 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< BLK_SIZE > >
typedef const value_typeconst_iterator
 
typedef const value_typeconst_reference
 
typedef value_typeiterator
 
typedef value_typereference
 
typedef size_t size_type
 
typedef BID< BLK_SIZE > value_type
 
- Protected Attributes inherited from stxxl::simple_vector< BID< BLK_SIZE > >
value_typem_array
 pointer to allocated memory area More...
 
size_type m_size
 size of allocated memory More...
 

Constructor & Destructor Documentation

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

Definition at line 149 of file bid.h.

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

Definition at line 153 of file bid.h.


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