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

Detailed Description

template<typename ArrayType, typename ValueType, unsigned_type modulo>
class stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >

Definition at line 411 of file adaptor.h.

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

+ Collaboration diagram for stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >:

Public Types

typedef ArrayType array_type
 
typedef ValueType value_type
 

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_typeoperator* () const
 
value_typeoperator* ()
 
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_typeoperator-> () const
 
value_typeoperator-> ()
 
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_typeoperator[] (unsigned_type index) const
 
value_typeoperator[] (unsigned_type index)
 

Protected Member Functions

void set (unsigned_type pos)
 

Protected Attributes

array_typearrays
 
array_typebase
 
value_typebase_element
 
unsigned_type offset
 
unsigned_type pos
 

Member Typedef Documentation

template<typename ArrayType , typename ValueType , unsigned_type modulo>
typedef ArrayType stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::array_type

Definition at line 415 of file adaptor.h.

template<typename ArrayType , typename ValueType , unsigned_type modulo>
typedef ValueType stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::value_type

Definition at line 416 of file adaptor.h.

Constructor & Destructor Documentation

template<typename ArrayType , typename ValueType , unsigned_type modulo>
stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::array_of_sequences_iterator ( )
inline

Definition at line 436 of file adaptor.h.

template<typename ArrayType , typename ValueType , unsigned_type modulo>
stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::array_of_sequences_iterator ( array_type arrays)
inline

Definition at line 442 of file adaptor.h.

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

Definition at line 448 of file adaptor.h.

Member Function Documentation

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

Definition at line 560 of file adaptor.h.

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

Definition at line 565 of file adaptor.h.

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

Definition at line 515 of file adaptor.h.

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

Definition at line 460 of file adaptor.h.

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

Definition at line 474 of file adaptor.h.

References operator++().

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

Definition at line 503 of file adaptor.h.

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

Definition at line 520 of file adaptor.h.

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

Definition at line 482 of file adaptor.h.

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

Definition at line 496 of file adaptor.h.

References operator--().

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

Definition at line 509 of file adaptor.h.

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

Definition at line 570 of file adaptor.h.

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

Definition at line 575 of file adaptor.h.

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

Definition at line 454 of file adaptor.h.

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

Definition at line 580 of file adaptor.h.

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

Definition at line 585 of file adaptor.h.

template<typename ArrayType , typename ValueType , unsigned_type modulo>
void stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::set ( unsigned_type  pos)
inlineprotected
Invariant
block * modulo + offset = pos

Definition at line 427 of file adaptor.h.

Member Data Documentation

template<typename ArrayType , typename ValueType , unsigned_type modulo>
array_type* stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::arrays
protected

Definition at line 421 of file adaptor.h.

template<typename ArrayType , typename ValueType , unsigned_type modulo>
array_type* stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::base
protected

Definition at line 422 of file adaptor.h.

template<typename ArrayType , typename ValueType , unsigned_type modulo>
value_type* stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::base_element
protected

Definition at line 423 of file adaptor.h.

template<typename ArrayType , typename ValueType , unsigned_type modulo>
unsigned_type stxxl::array_of_sequences_iterator< ArrayType, ValueType, modulo >::offset
protected

Definition at line 420 of file adaptor.h.


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