PLaSK library
|
#include <plask/mesh/rectangular_masked2d.hpp>
Public Member Functions | |
BoundaryIteratorImpl (const RectangularMaskedMeshBase< 2 > &mesh, Vec< 2, std::size_t > index, std::size_t endIndex) | |
void | increment () override |
Iterate to next value. | |
bool | equal (const plask::BoundaryNodeSetImpl::IteratorImpl &other) const override |
std::size_t | dereference () const override |
std::unique_ptr< plask::BoundaryNodeSetImpl::IteratorImpl > | 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 RectangularMaskedMeshBase< 2 > & | mesh |
Vec< 2, std::size_t > | index |
current indexes | |
std::size_t | endIndex |
past the last index of change direction | |
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. | |
Definition at line 536 of file rectangular_masked2d.hpp.
|
inline |
Definition at line 546 of file rectangular_masked2d.hpp.
|
inlineoverridevirtual |
Clone this iterator.
*this
, allocated with new operator (caller is responsible for deleting it) Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.
Definition at line 568 of file rectangular_masked2d.hpp.
|
inlineoverridevirtual |
Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.
Definition at line 564 of file rectangular_masked2d.hpp.
|
inlineoverride |
Definition at line 560 of file rectangular_masked2d.hpp.
|
inlineoverridevirtual |
Iterate to next value.
Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.
Definition at line 554 of file rectangular_masked2d.hpp.
std::size_t plask::RectangularMaskedMesh2D::BoundaryIteratorImpl< CHANGE_DIR >::endIndex |
past the last index of change direction
Definition at line 544 of file rectangular_masked2d.hpp.
Vec<2, std::size_t> plask::RectangularMaskedMesh2D::BoundaryIteratorImpl< CHANGE_DIR >::index |
current indexes
Definition at line 541 of file rectangular_masked2d.hpp.
const RectangularMaskedMeshBase<2>& plask::RectangularMaskedMesh2D::BoundaryIteratorImpl< CHANGE_DIR >::mesh |
Definition at line 538 of file rectangular_masked2d.hpp.