concepts::MultiArray< 1, T >::Scanner Class Reference

Class for scanning (iterating) over the array in all dimensions. More...

#include <multiArray.hh>

Public Member Functions

Scannerclone () const
 
bool eos () const
 
const MultiEntrance< 1, T > operator() () const
 
const MultiEntrance< 1, T > operator++ (int)
 
 Scanner (const MultiArray< 1, T > array)
 
 Scanner (const Scanner &scan)
 

Private Attributes

std::map< uint, T >::const_iterator end_
 
std::map< uint, T >::const_iterator i_
 Iterator in current MultiArray, which holds the index and the array of smaller dimension. More...
 

Detailed Description

template<typename T>
class concepts::MultiArray< 1, T >::Scanner

Class for scanning (iterating) over the array in all dimensions.

Definition at line 449 of file multiArray.hh.

Constructor & Destructor Documentation

◆ Scanner() [1/2]

template<typename T >
concepts::MultiArray< 1, T >::Scanner::Scanner ( const MultiArray< 1, T >  array)
inline

Definition at line 451 of file multiArray.hh.

◆ Scanner() [2/2]

template<typename T >
concepts::MultiArray< 1, T >::Scanner::Scanner ( const Scanner &  scan)
inline

Definition at line 453 of file multiArray.hh.

Member Function Documentation

◆ clone()

template<typename T >
Scanner* concepts::MultiArray< 1, T >::Scanner::clone ( ) const
inline

Definition at line 467 of file multiArray.hh.

◆ eos()

template<typename T >
bool concepts::MultiArray< 1, T >::Scanner::eos ( ) const
inline

Definition at line 454 of file multiArray.hh.

◆ operator()()

template<typename T >
const MultiEntrance<1,T> concepts::MultiArray< 1, T >::Scanner::operator() ( ) const
inline

Definition at line 455 of file multiArray.hh.

◆ operator++()

template<typename T >
const MultiEntrance<1,T> concepts::MultiArray< 1, T >::Scanner::operator++ ( int  )
inline

Definition at line 458 of file multiArray.hh.

Member Data Documentation

◆ end_

template<typename T >
std::map<uint, T>::const_iterator concepts::MultiArray< 1, T >::Scanner::end_
private

Definition at line 473 of file multiArray.hh.

◆ i_

template<typename T >
std::map<uint, T>::const_iterator concepts::MultiArray< 1, T >::Scanner::i_
private

Iterator in current MultiArray, which holds the index and the array of smaller dimension.

Definition at line 472 of file multiArray.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich