STXXL  1.4.0
 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 31 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 47 of file adaptor.h.

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

Definition at line 52 of file adaptor.h.

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

Definition at line 57 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 128 of file adaptor.h.

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

Definition at line 133 of file adaptor.h.

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

Definition at line 123 of file adaptor.h.

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

Definition at line 70 of file adaptor.h.

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

Definition at line 83 of file adaptor.h.

References operator++().

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

Definition at line 111 of file adaptor.h.

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

Definition at line 91 of file adaptor.h.

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

Definition at line 104 of file adaptor.h.

References operator--().

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

Definition at line 64 of file adaptor.h.

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

Definition at line 117 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 39 of file adaptor.h.

Member Data Documentation

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

Definition at line 34 of file adaptor.h.

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

Definition at line 35 of file adaptor.h.

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

Definition at line 33 of file adaptor.h.


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