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

#include <plask/mesh/boundary.hpp>

Inheritance diagram for plask::UnionBoundarySetImpl::IteratorImpl:
[legend]
Collaboration diagram for plask::UnionBoundarySetImpl::IteratorImpl:
[legend]

Classes

struct  IteratorWithEnd
 

Public Member Functions

bool equal (const typename BoundaryNodeSetImpl::IteratorImpl &other) const override
 
std::unique_ptr< BoundaryNodeSetImpl::IteratorImplclone () const override
 Clone this iterator.
 
std::size_t dereference () const override
 
void increment () override
 Iterate to next value.
 
- 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

std::vector< IteratorWithEndposition
 

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 436 of file boundary.hpp.

Member Function Documentation

◆ clone()

std::unique_ptr< BoundaryNodeSetImpl::IteratorImpl > plask::UnionBoundarySetImpl::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 457 of file boundary.hpp.

◆ dereference()

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

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 473 of file boundary.hpp.

◆ equal()

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

Definition at line 452 of file boundary.hpp.

◆ increment()

void plask::UnionBoundarySetImpl::IteratorImpl::increment ( )
inlineoverridevirtual

Iterate to next value.

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 477 of file boundary.hpp.

Member Data Documentation

◆ position

std::vector<IteratorWithEnd> plask::UnionBoundarySetImpl::IteratorImpl::position

Definition at line 450 of file boundary.hpp.


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