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

Contains BID references for stxxl::typed_block , not intended for direct use. More...

#include <typed_block.h>

Inheritance diagram for block_w_bids< T, Size_, RawSize_, NBids_ >:
Inheritance graph
[legend]
Collaboration diagram for block_w_bids< T, Size_, RawSize_, NBids_ >:
Collaboration graph
[legend]

Public Types

enum  { raw_size = RawSize_, nbids = NBids_ }
 
typedef BID< raw_size > bid_type
 
- Public Types inherited from element_block< T, Size_ >
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

bid_typeoperator() (int i)
 An operator to access bid references. More...
 
- Public Member Functions inherited from element_block< T, Size_ >
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

bid_type ref [nbids]
 Array of BID references. More...
 
- Public Attributes inherited from element_block< T, Size_ >
elem [size]
 Array of elements of type T. More...
 

Detailed Description

template<class T, unsigned Size_, unsigned RawSize_, unsigned NBids_ = 0>
class block_w_bids< T, Size_, RawSize_, NBids_ >

Contains BID references for stxxl::typed_block , not intended for direct use.

Member Function Documentation

template<class T, unsigned Size_, unsigned RawSize_, unsigned NBids_ = 0>
bid_type& block_w_bids< T, Size_, RawSize_, NBids_ >::operator() ( int  i)
inline

An operator to access bid references.

Member Data Documentation

template<class T, unsigned Size_, unsigned RawSize_, unsigned NBids_ = 0>
bid_type block_w_bids< T, Size_, RawSize_, NBids_ >::ref[nbids]

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