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

Detailed Description

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

column-major const_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 961 of file matrix.h.

+ Inheritance diagram for stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >:
+ Collaboration diagram for stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >:

Public Member Functions

 const_matrix_col_major_iterator (const matrix_iterator< ValueType, BlockSideLength > &matrix_iterator)
 convert from matrix_iterator More...
 
 const_matrix_col_major_iterator (const const_matrix_iterator_type &matrix_iterator)
 convert from matrix_iterator More...
 
const_matrix_col_major_iteratoroperator++ ()
 
const_matrix_col_major_iteratoroperator-- ()
 
- Public Member Functions inherited from stxxl::const_matrix_iterator< ValueType, BlockSideLength >
 const_matrix_iterator (const matrix_iterator< ValueType, BlockSideLength > &other)
 
 const_matrix_iterator (const const_matrix_iterator &other)
 
 ~const_matrix_iterator ()
 
bool empty () const
 
const elem_size_typeget_col () const
 
std::pair< elem_size_type,
elem_size_type
get_pos () const
 
const elem_size_typeget_row () const
 
 operator bool () const
 
const ValueType & operator* ()
 Returns reference access to the element referenced by the iterator. The reference is only valid so long as the iterator is not moved. More...
 
const_matrix_iteratoroperator= (const const_matrix_iterator &other)
 
bool operator== (const const_matrix_iterator &other) const
 
void set_col (const elem_size_type new_col)
 
void set_pos (const elem_size_type new_row, const elem_size_type new_col)
 
void set_pos (const std::pair< elem_size_type, elem_size_type > new_pos)
 
void set_row (const elem_size_type new_row)
 

Protected Types

typedef const_matrix_iterator
< ValueType, BlockSideLength > 
const_matrix_iterator_type
 
typedef
const_matrix_iterator_type::elem_size_type 
elem_size_type
 
typedef
const_matrix_iterator_type::matrix_type 
matrix_type
 
- Protected Types inherited from stxxl::const_matrix_iterator< ValueType, BlockSideLength >
typedef
matrix_type::block_scheduler_type 
block_scheduler_type
 
typedef
matrix_type::block_size_type 
block_size_type
 
typedef matrix_type::elem_size_type elem_size_type
 
typedef
block_scheduler_type::internal_block_type 
internal_block_type
 
typedef matrix< ValueType,
BlockSideLength > 
matrix_type
 
typedef
matrix_type::swappable_block_matrix_type 
swappable_block_matrix_type
 

Protected Member Functions

 const_matrix_col_major_iterator (const matrix_type &matrix, const elem_size_type start_row, const elem_size_type start_col)
 create iterator pointing to given row and col More...
 
 const_matrix_col_major_iterator (const matrix_type &matrix)
 create empty iterator More...
 
- Protected Member Functions inherited from stxxl::const_matrix_iterator< ValueType, BlockSideLength >
 const_matrix_iterator (const matrix_type &matrix, const elem_size_type start_row, const elem_size_type start_col)
 create iterator pointing to given row and col More...
 
 const_matrix_iterator (const matrix_type &matrix)
 create empty iterator More...
 
void acquire_current_iblock ()
 
void release_current_iblock ()
 
void set_empty ()
 

Additional Inherited Members

- Protected Attributes inherited from stxxl::const_matrix_iterator< ValueType, BlockSideLength >
block_size_type current_block_col
 
block_size_type current_block_row
 
elem_size_type current_col
 
internal_block_typecurrent_iblock
 
elem_size_type current_row
 
const matrix_typem
 

Member Typedef Documentation

template<typename ValueType , unsigned BlockSideLength>
typedef const_matrix_iterator<ValueType, BlockSideLength> stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >::const_matrix_iterator_type
protected

Definition at line 964 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
typedef const_matrix_iterator_type::elem_size_type stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >::elem_size_type
protected

Definition at line 966 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
typedef const_matrix_iterator_type::matrix_type stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >::matrix_type
protected

Definition at line 965 of file matrix.h.

Constructor & Destructor Documentation

template<typename ValueType , unsigned BlockSideLength>
stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >::const_matrix_col_major_iterator ( const matrix_type matrix,
const elem_size_type  start_row,
const elem_size_type  start_col 
)
inlineprotected

create iterator pointing to given row and col

Definition at line 975 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >::const_matrix_col_major_iterator ( const matrix_type matrix)
inlineprotected

create empty iterator

Definition at line 979 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >::const_matrix_col_major_iterator ( const matrix_iterator< ValueType, BlockSideLength > &  matrix_iterator)
inline

convert from matrix_iterator

Definition at line 984 of file matrix.h.

template<typename ValueType , unsigned BlockSideLength>
stxxl::const_matrix_col_major_iterator< ValueType, BlockSideLength >::const_matrix_col_major_iterator ( const const_matrix_iterator_type matrix_iterator)
inline

convert from matrix_iterator

Definition at line 988 of file matrix.h.

Member Function Documentation

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

Definition at line 992 of file matrix.h.

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

Definition at line 1007 of file matrix.h.


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