STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type > Struct Template Reference

Detailed Description

template<unsigned _blk_sz, typename _run_type, class __pos_type = int_type>
struct stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >

Definition at line 24 of file adaptor.h.

+ Inheritance diagram for stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >:
+ Collaboration diagram for stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >:

Public Types

enum  { block_size = _blk_sz }
 
typedef
two2one_dim_array_adapter_base
< _run_type *, BID< _blk_sz >
, __pos_type > 
_Parent
 
typedef runs2bid_array_adaptor
< _blk_sz, _run_type,
__pos_type > 
_Self
 
typedef BID< _blk_sz > data_type
 
- Public Types inherited from stxxl::two2one_dim_array_adapter_base< _run_type *, BID< _blk_sz >, __pos_type >
typedef __pos_type _pos_type
 
typedef
two2one_dim_array_adapter_base
< _run_type *, BID< _blk_sz >
, __pos_type > 
_Self
 

Public Member Functions

 runs2bid_array_adaptor (_run_type **a, __pos_type p, unsigned_type d)
 
 runs2bid_array_adaptor (const _Self &a)
 
data_typeoperator* ()
 
const data_typeoperator-> () const
 
const _Selfoperator= (const _Self &a)
 
data_typeoperator[] (__pos_type n) const
 
- Public Member Functions inherited from stxxl::two2one_dim_array_adapter_base< _run_type *, BID< _blk_sz >, __pos_type >
 two2one_dim_array_adapter_base ()
 
 two2one_dim_array_adapter_base (_run_type **a, __pos_typep)
 
 two2one_dim_array_adapter_base (const two2one_dim_array_adapter_base &a)
 
bool operator!= (const _Self &a) const
 
_Self operator+ (__pos_typeoff) const
 
_Selfoperator++ ()
 
_Self operator++ (int)
 
_Selfoperator+= (__pos_typeoff)
 
_Self operator- (__pos_typeoff) const
 
__pos_type operator- (const _Self &a) const
 
_Selfoperator-- ()
 
_Self operator-- (int)
 
_Selfoperator-= (__pos_typeoff)
 
bool operator< (const _Self &a) const
 
bool operator<= (const _Self &a) const
 
bool operator== (const _Self &a) const
 
bool operator> (const _Self &a) const
 
bool operator>= (const _Self &a) const
 

Public Attributes

unsigned_type dim_size
 
- Public Attributes inherited from stxxl::two2one_dim_array_adapter_base< _run_type *, BID< _blk_sz >, __pos_type >
_run_type ** array
 
__pos_type pos
 

Member Typedef Documentation

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
typedef two2one_dim_array_adapter_base<_run_type*, BID<_blk_sz>, __pos_type> stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::_Parent

Definition at line 33 of file adaptor.h.

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
typedef runs2bid_array_adaptor<_blk_sz, _run_type, __pos_type> stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::_Self

Definition at line 26 of file adaptor.h.

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
typedef BID<_blk_sz> stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::data_type

Definition at line 27 of file adaptor.h.

Member Enumeration Documentation

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
anonymous enum
Enumerator
block_size 

Definition at line 29 of file adaptor.h.

Constructor & Destructor Documentation

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::runs2bid_array_adaptor ( _run_type **  a,
__pos_type  p,
unsigned_type  d 
)
inline

Definition at line 37 of file adaptor.h.

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::runs2bid_array_adaptor ( const _Self a)
inline

Definition at line 40 of file adaptor.h.

Member Function Documentation

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
data_type& stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::operator* ( )
inline

Definition at line 52 of file adaptor.h.

References CHECK_RUN_BOUNDS.

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
const data_type* stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::operator-> ( ) const
inline

Definition at line 58 of file adaptor.h.

References CHECK_RUN_BOUNDS.

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
const _Self& stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::operator= ( const _Self a)
inline
template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
data_type& stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::operator[] ( __pos_type  n) const
inline

Definition at line 65 of file adaptor.h.

References CHECK_RUN_BOUNDS.

Member Data Documentation

template<unsigned _blk_sz, typename _run_type , class __pos_type = int_type>
unsigned_type stxxl::runs2bid_array_adaptor< _blk_sz, _run_type, __pos_type >::dim_size

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