PLaSK library
Loading...
Searching...
No Matches
plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl Struct Reference

#include <plask/mesh/extruded_triangular3d.hpp>

Inheritance diagram for plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl:
[legend]
Collaboration diagram for plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl:
[legend]

Public Member Functions

 IteratorImpl (const ExtrudedTriangularWholeLayerBoundaryImpl &boundary, std::size_t longTranIndex)
 
std::size_t dereference () const override
 
void increment () override
 Iterate to next value.
 
bool equal (const typename BoundaryNodeSetImpl::IteratorImpl &other) const override
 
std::unique_ptr< PolymorphicForwardIteratorImpl< std::size_t, std::size_t > > clone () const override
 Clone this iterator.
 
- Public Member Functions inherited from plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >
virtual ~PolymorphicForwardIteratorImpl ()
 Virtual destructor, do nothing.
 
virtual bool equal (const PolymorphicForwardIteratorImpl &other) const =0
 Check if this is equal to other.
 

Public Attributes

const ExtrudedTriangularWholeLayerBoundaryImpl & boundary
 
std::size_t longTranIndex
 

Additional Inherited Members

- Public Types inherited from plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >
typedef ValueT value_type
 Type of objects pointed by the iterator.
 
typedef ReferenceT reference
 Type to represent a reference to an object pointed by the iterator.
 

Detailed Description

Definition at line 411 of file extruded_triangular3d.hpp.

Constructor & Destructor Documentation

◆ IteratorImpl()

plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl::IteratorImpl ( const ExtrudedTriangularWholeLayerBoundaryImpl &  boundary,
std::size_t  longTranIndex 
)
inline

Definition at line 417 of file extruded_triangular3d.hpp.

Member Function Documentation

◆ clone()

std::unique_ptr< PolymorphicForwardIteratorImpl< std::size_t, std::size_t > > plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl::clone ( ) const
inlineoverridevirtual

Clone this iterator.

Returns
clone of *this, allocated with new operator (caller is responsible for deleting it)

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 433 of file extruded_triangular3d.hpp.

◆ dereference()

std::size_t plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl::dereference ( ) const
inlineoverridevirtual
Returns
current value

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 421 of file extruded_triangular3d.hpp.

◆ equal()

bool plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl::equal ( const typename BoundaryNodeSetImpl::IteratorImpl other) const
inlineoverride

Definition at line 429 of file extruded_triangular3d.hpp.

◆ increment()

void plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl::increment ( )
inlineoverridevirtual

Iterate to next value.

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 425 of file extruded_triangular3d.hpp.

Member Data Documentation

◆ boundary

const ExtrudedTriangularWholeLayerBoundaryImpl& plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl::boundary

Definition at line 413 of file extruded_triangular3d.hpp.

◆ longTranIndex

std::size_t plask::ExtrudedTriangularMesh3D::ExtrudedTriangularWholeLayerBoundaryImpl::IteratorImpl::longTranIndex

Definition at line 415 of file extruded_triangular3d.hpp.


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