Contains data elements for stxxl::typed_block
, not intended for direct use.
More...
#include <typed_block.h>
Public Types | |
enum | { size = Size_ } |
typedef T | type |
typedef T | value_type |
typedef T & | reference |
typedef const T & | const_reference |
typedef type * | pointer |
typedef pointer | iterator |
typedef const type * | const_iterator |
Public Member Functions | |
reference | operator[] (int i) |
An operator to access elements in the block. | |
iterator | begin () |
Returns iterator pointing to the first element. | |
const_iterator | begin () const |
Returns const_iterator pointing to the first element. | |
const_iterator | cbegin () const |
Returns const_iterator pointing to the first element. | |
iterator | end () |
Returns iterator pointing to the end element. | |
const_iterator | end () const |
Returns const_iterator pointing to the end element. | |
const_iterator | cend () const |
Returns const_iterator pointing to the end element. | |
Public Attributes | |
T | elem [size] |
Array of elements of type T. |
Contains data elements for stxxl::typed_block
, not intended for direct use.
iterator element_block< T, Size_ >::begin | ( | ) | [inline] |
Returns iterator
pointing to the first element.
Referenced by element_block< T_, Size_ >::cbegin(), queue< ValTp, BlkSz, AllocStr, SzTp >::pop(), stream::runs_creator< use_push< ValueType_ >, Cmp_, BlockSize_, AllocStr_ >::push(), and queue< ValTp, BlkSz, AllocStr, SzTp >::push().
const_iterator element_block< T, Size_ >::begin | ( | ) | const [inline] |
Returns const_iterator
pointing to the first element.
const_iterator element_block< T, Size_ >::cbegin | ( | ) | const [inline] |
Returns const_iterator
pointing to the first element.
const_iterator element_block< T, Size_ >::cend | ( | ) | const [inline] |
Returns const_iterator
pointing to the end element.
const_iterator element_block< T, Size_ >::end | ( | ) | const [inline] |
Returns const_iterator
pointing to the end element.
iterator element_block< T, Size_ >::end | ( | ) | [inline] |
Returns iterator
pointing to the end element.
Referenced by element_block< T_, Size_ >::cend(), and stream::runs_creator< use_push< ValueType_ >, Cmp_, BlockSize_, AllocStr_ >::push().
reference element_block< T, Size_ >::operator[] | ( | int | i | ) | [inline] |
An operator to access elements in the block.
T element_block< T, Size_ >::elem[size] |
Array of elements of type T.
Referenced by element_block< T_, Size_ >::begin(), element_block< T_, Size_ >::end(), and element_block< T_, Size_ >::operator[]().