element_block< T, Size_ > Class Template Reference
[Block management layer]

Contains data elements for stxxl::typed_block , not intended for direct use. More...

#include <mng.h>

Inheritance diagram for element_block< T, Size_ >:

Inheritance graph
[legend]

List of all members.

Public Types

enum  { size = Size_ }

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.
iterator end ()
 Returns iterator pointing to the end element.
const_iterator end () const
 Returns const_iterator pointing to the end element.

Public Attributes

elem [size]
 Array of elements of type T.


Detailed Description

template<class T, unsigned Size_>
class element_block< T, Size_ >

Contains data elements for stxxl::typed_block , not intended for direct use.

Member Enumeration Documentation

template<class T, unsigned Size_>
anonymous enum

Enumerator:
size  number of elements in the block


Member Function Documentation

template<class T, unsigned Size_>
reference element_block< T, Size_ >::operator[] ( int  i  )  [inline]

An operator to access elements in the block.

template<class T, unsigned Size_>
iterator element_block< T, Size_ >::begin (  )  [inline]

Returns iterator pointing to the first element.

Referenced by stream::runs_creator< use_push< ValueType_ >, Cmp_, BlockSize_, AllocStr_ >::push().

template<class T, unsigned Size_>
const_iterator element_block< T, Size_ >::begin (  )  const [inline]

Returns const_iterator pointing to the first element.

template<class T, unsigned Size_>
iterator element_block< T, Size_ >::end (  )  [inline]

Returns iterator pointing to the end element.

Referenced by stream::runs_creator< use_push< ValueType_ >, Cmp_, BlockSize_, AllocStr_ >::push().

template<class T, unsigned Size_>
const_iterator element_block< T, Size_ >::end (  )  const [inline]

Returns const_iterator pointing to the end element.


Member Data Documentation

template<class T, unsigned Size_>
T element_block< T, Size_ >::elem[size]


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

Generated on Wed Apr 21 06:45:46 2010 for Stxxl by  doxygen 1.5.6