www.mooseframework.org
Public Types | Public Member Functions | Public Attributes | List of all members
MooseMesh::const_bnd_elem_iterator Struct Reference

The definition of the const_bnd_elem_iterator struct. More...

#include <MooseMesh.h>

Inheritance diagram for MooseMesh::const_bnd_elem_iterator:
[legend]

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef BndElement *const value_type
 
typedef std::ptrdiff_t difference_type
 
typedef BndElement *const * pointer
 
typedef BndElement *const & reference
 
typedef variant_filter_iterator< MeshBase::Predicate, BndElement *const, BndElement *const &, BndElement *const *, ConstType, ConstReferenceType, ConstPointerType > Iterator
 

Public Member Functions

template<typename PredType , typename IterType >
 const_bnd_elem_iterator (const IterType &d, const IterType &e, const PredType &p)
 
 const_bnd_elem_iterator (const bnd_elem_iterator &rhs)
 
BndElement *const & operator* () const
 
BndElement *const * operator-> () const
 
Iteratoroperator++ ()
 
const Iterator operator++ (int)
 
bool equal (const variant_filter_iterator &other) const
 
void swap (Iterator &lhs, Iterator &rhs)
 

Public Attributes

std::unique_ptr< IterBase > data
 
std::unique_ptr< IterBase > end
 
std::unique_ptr< PredBase > pred
 

Detailed Description

The definition of the const_bnd_elem_iterator struct.

It is similar to the regular iterator above, but also provides an additional conversion-to-const ctor.

Definition at line 1996 of file MooseMesh.h.

Constructor & Destructor Documentation

◆ const_bnd_elem_iterator() [1/2]

template<typename PredType , typename IterType >
MooseMesh::const_bnd_elem_iterator::const_bnd_elem_iterator ( const IterType &  d,
const IterType &  e,
const PredType &  p 
)
inline

Definition at line 2003 of file MooseMesh.h.

2004  : variant_filter_iterator<MeshBase::Predicate,
2005  BndElement * const,
2006  BndElement * const &,
2007  BndElement * const *>(d, e, p)
2008  {
2009  }

◆ const_bnd_elem_iterator() [2/2]

MooseMesh::const_bnd_elem_iterator::const_bnd_elem_iterator ( const bnd_elem_iterator rhs)
inline

Definition at line 2013 of file MooseMesh.h.

2014  : variant_filter_iterator<MeshBase::Predicate,
2015  BndElement * const,
2016  BndElement * const &,
2017  BndElement * const *>(rhs)
2018  {
2019  }

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