Stxxl  1.3.2
Public Types | Public Member Functions | Public Attributes | List of all members
element_block< T, Size_ > Class Template Reference

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

#include <typed_block.h>

Inheritance diagram for element_block< T, Size_ >:
Inheritance graph
[legend]

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

Public Attributes

elem [size]
 Array of elements of type T. More...
 

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_>
iterator element_block< T, Size_ >::begin ( )
inline
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_>
const_iterator element_block< T, Size_ >::cbegin ( ) const
inline

Returns const_iterator pointing to the first element.

template<class T, unsigned Size_>
const_iterator element_block< T, Size_ >::cend ( ) const
inline

Returns const_iterator pointing to the end element.

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

Returns const_iterator pointing to the end element.

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

An operator to access elements in the block.

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: