STXXL  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
stxxl::array_of_sequences_iterator< array_type, value_type, modulo > Class Template Reference

Detailed Description

template<typename array_type, typename value_type, unsigned_type modulo>
class stxxl::array_of_sequences_iterator< array_type, value_type, modulo >

Definition at line 408 of file adaptor.h.

Inherits iterator< std::random_access_iterator_tag, value_type, unsigned_type >.

+ Collaboration diagram for stxxl::array_of_sequences_iterator< array_type, value_type, modulo >:

Public Member Functions

 array_of_sequences_iterator ()
 
 array_of_sequences_iterator (array_type *arrays)
 
 array_of_sequences_iterator (array_type *arrays, unsigned_type pos)
 
bool operator!= (const array_of_sequences_iterator &aoai) const
 
const value_type & operator* () const
 
value_type & operator* ()
 
array_of_sequences_iterator operator+ (unsigned_type addend) const
 
array_of_sequences_iteratoroperator++ ()
 
array_of_sequences_iterator operator++ (int)
 
array_of_sequences_iteratoroperator+= (unsigned_type addend)
 
array_of_sequences_iterator operator- (unsigned_type subtrahend) const
 
unsigned_type operator- (const array_of_sequences_iterator &subtrahend) const
 
array_of_sequences_iteratoroperator-- ()
 
array_of_sequences_iterator operator-- (int)
 
array_of_sequences_iteratoroperator-= (unsigned_type addend)
 
const value_type & operator-> () const
 
value_type & operator-> ()
 
bool operator< (const array_of_sequences_iterator &aoai) const
 
bool operator<= (const array_of_sequences_iterator &aoai) const
 
void operator= (unsigned_type pos)
 
bool operator== (const array_of_sequences_iterator &aoai) const
 
bool operator> (const array_of_sequences_iterator &aoai) const
 
bool operator>= (const array_of_sequences_iterator &aoai) const
 
const value_type & operator[] (unsigned_type index) const
 
value_type & operator[] (unsigned_type index)
 

Private Member Functions

void set (unsigned_type pos)
 

Private Attributes

array_type * arrays
 
array_type * base
 
value_type * base_element
 
unsigned_type offset
 
unsigned_type pos
 

Constructor & Destructor Documentation

template<typename array_type , typename value_type , unsigned_type modulo>
stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::array_of_sequences_iterator ( )
inline

Definition at line 427 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::array_of_sequences_iterator ( array_type *  arrays)
inline

Definition at line 433 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::array_of_sequences_iterator ( array_type *  arrays,
unsigned_type  pos 
)
inline

Definition at line 439 of file adaptor.h.

Member Function Documentation

template<typename array_type , typename value_type , unsigned_type modulo>
bool stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator!= ( const array_of_sequences_iterator< array_type, value_type, modulo > &  aoai) const
inline
template<typename array_type , typename value_type , unsigned_type modulo>
const value_type& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator* ( ) const
inline

Definition at line 551 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
value_type& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator* ( )
inline

Definition at line 556 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator+ ( unsigned_type  addend) const
inline

Definition at line 506 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator++ ( )
inline

Definition at line 451 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator++ ( int  )
inline

Definition at line 465 of file adaptor.h.

References operator++().

template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator+= ( unsigned_type  addend)
inline

Definition at line 494 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator- ( unsigned_type  subtrahend) const
inline

Definition at line 511 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
unsigned_type stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator- ( const array_of_sequences_iterator< array_type, value_type, modulo > &  subtrahend) const
inline
template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator-- ( )
inline

Definition at line 473 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator-- ( int  )
inline

Definition at line 487 of file adaptor.h.

References operator--().

template<typename array_type , typename value_type , unsigned_type modulo>
array_of_sequences_iterator& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator-= ( unsigned_type  addend)
inline

Definition at line 500 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
const value_type& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator-> ( ) const
inline

Definition at line 561 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
value_type& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator-> ( )
inline

Definition at line 566 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
bool stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator< ( const array_of_sequences_iterator< array_type, value_type, modulo > &  aoai) const
inline
template<typename array_type , typename value_type , unsigned_type modulo>
bool stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator<= ( const array_of_sequences_iterator< array_type, value_type, modulo > &  aoai) const
inline
template<typename array_type , typename value_type , unsigned_type modulo>
void stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator= ( unsigned_type  pos)
inline

Definition at line 445 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
bool stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator== ( const array_of_sequences_iterator< array_type, value_type, modulo > &  aoai) const
inline
template<typename array_type , typename value_type , unsigned_type modulo>
bool stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator> ( const array_of_sequences_iterator< array_type, value_type, modulo > &  aoai) const
inline
template<typename array_type , typename value_type , unsigned_type modulo>
bool stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator>= ( const array_of_sequences_iterator< array_type, value_type, modulo > &  aoai) const
inline
template<typename array_type , typename value_type , unsigned_type modulo>
const value_type& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator[] ( unsigned_type  index) const
inline

Definition at line 571 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
value_type& stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::operator[] ( unsigned_type  index)
inline

Definition at line 576 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
void stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::set ( unsigned_type  pos)
inlineprivate
Invariant
block * modulo + offset = pos

Definition at line 418 of file adaptor.h.

Member Data Documentation

template<typename array_type , typename value_type , unsigned_type modulo>
array_type* stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::arrays
private

Definition at line 412 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
array_type* stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::base
private

Definition at line 413 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
value_type* stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::base_element
private

Definition at line 414 of file adaptor.h.

template<typename array_type , typename value_type , unsigned_type modulo>
unsigned_type stxxl::array_of_sequences_iterator< array_type, value_type, modulo >::offset
private

Definition at line 411 of file adaptor.h.


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