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_col_major_iterator< ValueType, BlockSideLength > Class Template Reference

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

#include <matrix.h>

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

List of all members.

Public Member Functions

 matrix_col_major_iterator (const matrix_iterator_type &matrix_iterator)
 convert from matrix_iterator
matrix_col_major_iteratoroperator++ ()
matrix_col_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_col_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_col_major_iterator (matrix_type &matrix)
 create empty iterator

Detailed Description

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

column-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 643 of file matrix.h.


Member Typedef Documentation

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

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

Definition at line 648 of file matrix.h.

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

Definition at line 646 of file matrix.h.

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

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

Definition at line 647 of file matrix.h.


Constructor & Destructor Documentation

template<typename ValueType , unsigned BlockSideLength>
stxxl::matrix_col_major_iterator< ValueType, BlockSideLength >::matrix_col_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 656 of file matrix.h.

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

create empty iterator

Definition at line 660 of file matrix.h.

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

convert from matrix_iterator

Definition at line 665 of file matrix.h.


Member Function Documentation

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

Definition at line 669 of file matrix.h.

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

Definition at line 684 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