linDG2D::MeshInfo::S Class Reference

Scanner class for MeshInfo. More...

Inheritance diagram for linDG2D::MeshInfo::S:
concepts::Scan< T >

Public Member Functions

Sclone () const
 Returns a clone of the scanner. More...
 
bool eos () const
 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...
 
EdgeInfooperator++ (int)
 Returns the next element in the scanned set. More...
 
 S (const S &scan)
 
 S (const std::unordered_map< uint, EdgeInfo > &edgeInfos)
 

Private Attributes

const std::unordered_map< uint, EdgeInfo > & edgeInfos_
 
std::unordered_map< uint, EdgeInfo >::const_iterator idx_
 

Detailed Description

Scanner class for MeshInfo.

Definition at line 40 of file meshInfo.hh.

Constructor & Destructor Documentation

◆ S() [1/2]

linDG2D::MeshInfo::S::S ( const std::unordered_map< uint, EdgeInfo > &  edgeInfos)
inline

Definition at line 42 of file meshInfo.hh.

◆ S() [2/2]

linDG2D::MeshInfo::S::S ( const S scan)
inline

Definition at line 44 of file meshInfo.hh.

Member Function Documentation

◆ clone()

S* linDG2D::MeshInfo::S::clone ( ) const
inlinevirtual

Returns a clone of the scanner.

Implements concepts::Scan< T >.

Definition at line 49 of file meshInfo.hh.

◆ eos()

bool linDG2D::MeshInfo::S::eos ( ) const
inlinevirtual

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

Implements concepts::Scan< T >.

Definition at line 45 of file meshInfo.hh.

◆ operator int()

template<class T >
concepts::Scan< T >::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++()

EdgeInfo& linDG2D::MeshInfo::S::operator++ ( int  )
inlinevirtual

Returns the next element in the scanned set.

Implements concepts::Scan< T >.

Definition at line 46 of file meshInfo.hh.

Member Data Documentation

◆ edgeInfos_

const std::unordered_map<uint, EdgeInfo>& linDG2D::MeshInfo::S::edgeInfos_
private

Definition at line 52 of file meshInfo.hh.

◆ idx_

std::unordered_map<uint, EdgeInfo>::const_iterator linDG2D::MeshInfo::S::idx_
private

Definition at line 51 of file meshInfo.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