STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::blocked_index< modulo > Class Template Reference

Detailed Description

template<unsigned_type modulo>
class stxxl::blocked_index< modulo >

Definition at line 29 of file adaptor.h.

+ Collaboration diagram for stxxl::blocked_index< modulo >:

Public Member Functions

 blocked_index ()
 
 blocked_index (unsigned_type pos)
 
 blocked_index (unsigned_type block, unsigned_type offset)
 
const unsigned_typeget_block () const
 
const unsigned_typeget_offset () const
 
 operator unsigned_type () const
 
blocked_indexoperator++ ()
 
blocked_index operator++ (int)
 
blocked_indexoperator+= (unsigned_type addend)
 
blocked_indexoperator-- ()
 
blocked_index operator-- (int)
 
void operator= (unsigned_type pos)
 
blocked_indexoperator>>= (unsigned_type shift)
 

Private Member Functions

void set (unsigned_type pos)
 

Private Attributes

unsigned_type block
 
unsigned_type offset
 
unsigned_type pos
 

Constructor & Destructor Documentation

template<unsigned_type modulo>
stxxl::blocked_index< modulo >::blocked_index ( )
inline

Definition at line 45 of file adaptor.h.

template<unsigned_type modulo>
stxxl::blocked_index< modulo >::blocked_index ( unsigned_type  pos)
inline

Definition at line 50 of file adaptor.h.

template<unsigned_type modulo>
stxxl::blocked_index< modulo >::blocked_index ( unsigned_type  block,
unsigned_type  offset 
)
inline

Definition at line 55 of file adaptor.h.

Member Function Documentation

template<unsigned_type modulo>
const unsigned_type& stxxl::blocked_index< modulo >::get_block ( ) const
inline

Definition at line 126 of file adaptor.h.

template<unsigned_type modulo>
const unsigned_type& stxxl::blocked_index< modulo >::get_offset ( ) const
inline

Definition at line 131 of file adaptor.h.

template<unsigned_type modulo>
stxxl::blocked_index< modulo >::operator unsigned_type ( ) const
inline

Definition at line 121 of file adaptor.h.

template<unsigned_type modulo>
blocked_index& stxxl::blocked_index< modulo >::operator++ ( )
inline

Definition at line 68 of file adaptor.h.

template<unsigned_type modulo>
blocked_index stxxl::blocked_index< modulo >::operator++ ( int  )
inline

Definition at line 81 of file adaptor.h.

References operator++().

template<unsigned_type modulo>
blocked_index& stxxl::blocked_index< modulo >::operator+= ( unsigned_type  addend)
inline

Definition at line 109 of file adaptor.h.

template<unsigned_type modulo>
blocked_index& stxxl::blocked_index< modulo >::operator-- ( )
inline

Definition at line 89 of file adaptor.h.

template<unsigned_type modulo>
blocked_index stxxl::blocked_index< modulo >::operator-- ( int  )
inline

Definition at line 102 of file adaptor.h.

References operator--().

template<unsigned_type modulo>
void stxxl::blocked_index< modulo >::operator= ( unsigned_type  pos)
inline

Definition at line 62 of file adaptor.h.

template<unsigned_type modulo>
blocked_index& stxxl::blocked_index< modulo >::operator>>= ( unsigned_type  shift)
inline

Definition at line 115 of file adaptor.h.

template<unsigned_type modulo>
void stxxl::blocked_index< modulo >::set ( unsigned_type  pos)
inlineprivate
Invariant
block * modulo + offset = pos

Definition at line 37 of file adaptor.h.

Member Data Documentation

template<unsigned_type modulo>
unsigned_type stxxl::blocked_index< modulo >::block
private

Definition at line 32 of file adaptor.h.

template<unsigned_type modulo>
unsigned_type stxxl::blocked_index< modulo >::offset
private

Definition at line 33 of file adaptor.h.

template<unsigned_type modulo>
unsigned_type stxxl::blocked_index< modulo >::pos
private

Definition at line 31 of file adaptor.h.


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