concepts::Square::S Class Referenceabstract

Inheritance diagram for concepts::Square::S:
concepts::Scan< Cell2 > concepts::Scan< Cell >

Public Member Functions

Scan2clone () const
 
virtual Scanclone () const=0
 Returns a clone of the scanner. More...
 
bool eos () const
 
virtual bool eos () const=0
 Returns true if the end of the scanned set is reached. More...
 
 operator int ()
 Returns true as long as the end of the scanned set is not reached yet. More...
 
Cell2operator++ (int)
 Returns the next cell. More...
 
 S (const S &scan)
 
 S (Quad2d *(&cell)[ncell_])
 

Private Attributes

Quad2d *(& cell_ )[ncell_]
 
uint idx_
 

Detailed Description

Definition at line 61 of file square.hh.

Constructor & Destructor Documentation

◆ S() [1/2]

concepts::Square::S::S ( Quad2d *(&)  cell[ncell_])
inline

Definition at line 65 of file square.hh.

◆ S() [2/2]

concepts::Square::S::S ( const S scan)
inline

Definition at line 66 of file square.hh.

Member Function Documentation

◆ clone() [1/2]

Scan2* concepts::Square::S::clone ( ) const
inline

Definition at line 71 of file square.hh.

◆ clone() [2/2]

virtual Scan* concepts::Scan< Cell >::clone ( ) const
pure virtualinherited

Returns a clone of the scanner.

◆ eos() [1/2]

bool concepts::Square::S::eos ( ) const
inline

Definition at line 68 of file square.hh.

◆ eos() [2/2]

virtual bool concepts::Scan< Cell >::eos ( ) const
pure virtualinherited

Returns true if the end of the scanned set is reached.

◆ operator int()

concepts::Scan< Cell >::operator int ( )
inlineinherited

Returns true as long as the end of the scanned set is not reached yet.

Definition at line 34 of file scannerConnectors.hh.

◆ operator++()

Cell2& concepts::Square::S::operator++ ( int  )
inlinevirtual

Returns the next cell.

Implements concepts::Scan< Cell2 >.

Definition at line 69 of file square.hh.

Member Data Documentation

◆ cell_

Quad2d*(& concepts::Square::S::cell_)[ncell_]
private

Definition at line 63 of file square.hh.

◆ idx_

uint concepts::Square::S::idx_
private

Definition at line 62 of file square.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