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

#include <plask/mesh/boundary.hpp>

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

Classes

struct  IteratorWithEnd
 

Public Member Functions

 IteratorImpl (BoundaryNodeSet::const_iterator Aiter, BoundaryNodeSet::const_iterator Aend, BoundaryNodeSet::const_iterator Biter, BoundaryNodeSet::const_iterator Bend)
 
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

IteratorWithEnd Apos
 
IteratorWithEnd Bpos
 

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

Constructor & Destructor Documentation

◆ IteratorImpl()

plask::DiffBoundarySetImpl::IteratorImpl::IteratorImpl ( BoundaryNodeSet::const_iterator  Aiter,
BoundaryNodeSet::const_iterator  Aend,
BoundaryNodeSet::const_iterator  Biter,
BoundaryNodeSet::const_iterator  Bend 
)
inline

Definition at line 573 of file boundary.hpp.

Member Function Documentation

◆ clone()

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

◆ dereference()

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

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 589 of file boundary.hpp.

◆ equal()

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

Definition at line 580 of file boundary.hpp.

◆ increment()

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

Iterate to next value.

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 593 of file boundary.hpp.

Member Data Documentation

◆ Apos

IteratorWithEnd plask::DiffBoundarySetImpl::IteratorImpl::Apos

Definition at line 553 of file boundary.hpp.

◆ Bpos

IteratorWithEnd plask::DiffBoundarySetImpl::IteratorImpl::Bpos

Definition at line 553 of file boundary.hpp.


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