Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Member Functions | List of all members
serac::FilterView< Iter, Pred >::FilterViewIterator Class Reference

An iterator over a filtered view. More...

#include <boundary_condition_manager.hpp>

Public Member Functions

 FilterViewIterator (Iter curr, Iter end, const Pred &pred)
 Constructs a new iterator object. More...
 
FilterViewIteratoroperator++ ()
 Advances the pointed-to container element to the next element that satisfies the predicate.
 
const auto & operator* () const
 Dereferences the iterator. More...
 
auto & operator* ()
 
bool operator!= (const FilterViewIterator &other) const
 Comparison operation, checks for iterator inequality.
 

Detailed Description

template<typename Iter, typename Pred>
class serac::FilterView< Iter, Pred >::FilterViewIterator

An iterator over a filtered view.

Definition at line 34 of file boundary_condition_manager.hpp.

Constructor & Destructor Documentation

◆ FilterViewIterator()

template<typename Iter , typename Pred >
serac::FilterView< Iter, Pred >::FilterViewIterator::FilterViewIterator ( Iter  curr,
Iter  end,
const Pred &  pred 
)
inline

Constructs a new iterator object.

Parameters
[in]currThe element in the container that should be initially "pointed to"
[in]endThe element "one past the end" of the container
[in]predThe predicate to filter with

Definition at line 42 of file boundary_condition_manager.hpp.

Member Function Documentation

◆ operator*() [1/2]

template<typename Iter , typename Pred >
auto& serac::FilterView< Iter, Pred >::FilterViewIterator::operator* ( )
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 68 of file boundary_condition_manager.hpp.

◆ operator*() [2/2]

template<typename Iter , typename Pred >
const auto& serac::FilterView< Iter, Pred >::FilterViewIterator::operator* ( ) const
inline

Dereferences the iterator.

Returns
A non-owning reference to the pointed-to element

Definition at line 63 of file boundary_condition_manager.hpp.


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