Stxxl  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Types | Protected Member Functions
stxxl::matrix_row_major_iterator< ValueType, BlockSideLength > Class Template Reference

row-major iterator that points to single elements inside a matrix More...

#include <matrix.h>

Inheritance diagram for stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >:
Inheritance graph
[legend]
Collaboration diagram for stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 matrix_row_major_iterator (const matrix_iterator_type &matrix_iterator)
 convert from matrix_iterator
matrix_row_major_iteratoroperator++ ()
matrix_row_major_iteratoroperator-- ()

Protected Types

typedef matrix_iterator
< ValueType, BlockSideLength > 
matrix_iterator_type
typedef
matrix_iterator_type::matrix_type 
matrix_type
typedef
matrix_iterator_type::elem_size_type 
elem_size_type

Protected Member Functions

 matrix_row_major_iterator (matrix_type &matrix, const elem_size_type start_row, const elem_size_type start_col)
 create iterator pointing to given row and col
 matrix_row_major_iterator (matrix_type &matrix)
 create empty iterator

Detailed Description

template<typename ValueType, unsigned BlockSideLength>
class stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >

row-major iterator that points to single elements inside a matrix

Template Parameters:
ValueTypetype of contained objects (POD with no references to internal memory)
BlockSideLengthside length of a matrix block

Definition at line 578 of file matrix.h.


Member Typedef Documentation

template<typename ValueType , unsigned BlockSideLength>
typedef matrix_iterator_type::elem_size_type stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::elem_size_type [protected]

Reimplemented from stxxl::matrix_iterator< ValueType, BlockSideLength >.

Definition at line 583 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
typedef matrix_iterator<ValueType, BlockSideLength> stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::matrix_iterator_type [protected]

Definition at line 581 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
typedef matrix_iterator_type::matrix_type stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::matrix_type [protected]

Reimplemented from stxxl::matrix_iterator< ValueType, BlockSideLength >.

Definition at line 582 of file matrix.h.


Constructor & Destructor Documentation

template<typename ValueType , unsigned BlockSideLength>
stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::matrix_row_major_iterator ( matrix_type matrix,
const elem_size_type  start_row,
const elem_size_type  start_col 
) [inline, protected]

create iterator pointing to given row and col

Definition at line 591 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::matrix_row_major_iterator ( matrix_type matrix) [inline, protected]

create empty iterator

Definition at line 595 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::matrix_row_major_iterator ( const matrix_iterator_type matrix_iterator) [inline]

convert from matrix_iterator

Definition at line 600 of file matrix.h.


Member Function Documentation

template<typename ValueType , unsigned BlockSideLength>
matrix_row_major_iterator& stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::operator++ ( ) [inline]

Definition at line 604 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
matrix_row_major_iterator& stxxl::matrix_row_major_iterator< ValueType, BlockSideLength >::operator-- ( ) [inline]

Definition at line 619 of file matrix.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines