STXXL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType > Struct Template Reference

Detailed Description

template<unsigned BlockSize, typename RunType, class PosType = int_type>
struct stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >

Definition at line 24 of file adaptor.h.

+ Inheritance diagram for stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >:
+ Collaboration diagram for stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >:

Public Types

enum  { block_size = BlockSize }
 
typedef BID< BlockSize > data_type
 
typedef
two2one_dim_array_adapter_base
< RunType *, BID< BlockSize >
, PosType > 
parent_type
 
typedef runs2bid_array_adaptor
< BlockSize, RunType, PosType > 
self_type
 
- Public Types inherited from stxxl::two2one_dim_array_adapter_base< RunType *, BID< BlockSize >, PosType >
typedef BID< BlockSize > data_type
 
typedef RunType * one_dim_array_type
 
typedef PosType pos_type
 
typedef
two2one_dim_array_adapter_base
< one_dim_array_type,
data_type, pos_type
self_type
 

Public Member Functions

 runs2bid_array_adaptor (RunType **a, PosType p, unsigned_type d)
 
 runs2bid_array_adaptor (const self_type &a)
 
data_typeoperator* ()
 
const data_typeoperator-> () const
 
const self_typeoperator= (const self_type &a)
 
data_typeoperator[] (PosType n) const
 
- Public Member Functions inherited from stxxl::two2one_dim_array_adapter_base< RunType *, BID< BlockSize >, PosType >
 two2one_dim_array_adapter_base ()
 
 two2one_dim_array_adapter_base (one_dim_array_type *a, pos_type p)
 
 two2one_dim_array_adapter_base (const two2one_dim_array_adapter_base &a)
 
bool operator!= (const self_type &a) const
 
self_type operator+ (pos_type off) const
 
self_typeoperator++ ()
 
self_type operator++ (int)
 
self_typeoperator+= (pos_type off)
 
self_type operator- (pos_type off) const
 
pos_type operator- (const self_type &a) const
 
self_typeoperator-- ()
 
self_type operator-- (int)
 
self_typeoperator-= (pos_type off)
 
bool operator< (const self_type &a) const
 
bool operator<= (const self_type &a) const
 
bool operator== (const self_type &a) const
 
bool operator> (const self_type &a) const
 
bool operator>= (const self_type &a) const
 

Public Attributes

unsigned_type dim_size
 
- Public Attributes inherited from stxxl::two2one_dim_array_adapter_base< RunType *, BID< BlockSize >, PosType >
one_dim_array_typearray
 
pos_type pos
 

Member Typedef Documentation

template<unsigned BlockSize, typename RunType , class PosType = int_type>
typedef BID<BlockSize> stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::data_type

Definition at line 27 of file adaptor.h.

template<unsigned BlockSize, typename RunType , class PosType = int_type>
typedef two2one_dim_array_adapter_base<RunType*, BID<BlockSize>, PosType> stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::parent_type

Definition at line 35 of file adaptor.h.

template<unsigned BlockSize, typename RunType , class PosType = int_type>
typedef runs2bid_array_adaptor<BlockSize, RunType, PosType> stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::self_type

Definition at line 26 of file adaptor.h.

Member Enumeration Documentation

template<unsigned BlockSize, typename RunType , class PosType = int_type>
anonymous enum
Enumerator
block_size 

Definition at line 29 of file adaptor.h.

Constructor & Destructor Documentation

template<unsigned BlockSize, typename RunType , class PosType = int_type>
stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::runs2bid_array_adaptor ( RunType **  a,
PosType  p,
unsigned_type  d 
)
inline

Definition at line 39 of file adaptor.h.

template<unsigned BlockSize, typename RunType , class PosType = int_type>
stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::runs2bid_array_adaptor ( const self_type a)
inline

Definition at line 42 of file adaptor.h.

Member Function Documentation

template<unsigned BlockSize, typename RunType , class PosType = int_type>
data_type& stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::operator* ( )
inline

Definition at line 54 of file adaptor.h.

References CHECK_RUN_BOUNDS.

template<unsigned BlockSize, typename RunType , class PosType = int_type>
const data_type* stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::operator-> ( ) const
inline

Definition at line 60 of file adaptor.h.

References CHECK_RUN_BOUNDS.

template<unsigned BlockSize, typename RunType , class PosType = int_type>
const self_type& stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::operator= ( const self_type a)
inline
template<unsigned BlockSize, typename RunType , class PosType = int_type>
data_type& stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::operator[] ( PosType  n) const
inline

Definition at line 66 of file adaptor.h.

References CHECK_RUN_BOUNDS.

Member Data Documentation

template<unsigned BlockSize, typename RunType , class PosType = int_type>
unsigned_type stxxl::runs2bid_array_adaptor< BlockSize, RunType, PosType >::dim_size

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