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

#include <plask/mesh/boundary.hpp>

Inheritance diagram for plask::IntersectionBoundarySetImpl::IteratorImpl:
[legend]
Collaboration diagram for plask::IntersectionBoundarySetImpl::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 629 of file boundary.hpp.

Constructor & Destructor Documentation

◆ IteratorImpl()

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

Definition at line 661 of file boundary.hpp.

Member Function Documentation

◆ clone()

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

◆ dereference()

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

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 677 of file boundary.hpp.

◆ equal()

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

Definition at line 668 of file boundary.hpp.

◆ increment()

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

Iterate to next value.

Implements plask::PolymorphicForwardIteratorImpl< ValueT, ReferenceT >.

Definition at line 681 of file boundary.hpp.

Member Data Documentation

◆ Apos

IteratorWithEnd plask::IntersectionBoundarySetImpl::IteratorImpl::Apos

Definition at line 643 of file boundary.hpp.

◆ Bpos

IteratorWithEnd plask::IntersectionBoundarySetImpl::IteratorImpl::Bpos

Definition at line 643 of file boundary.hpp.


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