https://mooseframework.inl.gov
Public Types | Public Member Functions | Public Attributes | List of all members
MooseMesh::const_elem_info_iterator Struct Reference

The definition of the const_elem_info_iterator struct. More...

#include <MooseMesh.h>

Inheritance diagram for MooseMesh::const_elem_info_iterator:
[legend]

Public Types

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

Public Member Functions

template<typename PredType , typename IterType >
 const_elem_info_iterator (const IterType &d, const IterType &e, const PredType &p)
 
 const_elem_info_iterator (const MooseMesh::elem_info_iterator &rhs)
 
const ElemInfo *const & operator* () const
 
const ElemInfo *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_elem_info_iterator struct.

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

Definition at line 1968 of file MooseMesh.h.

Constructor & Destructor Documentation

◆ const_elem_info_iterator() [1/2]

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

Definition at line 1975 of file MooseMesh.h.

1976  : variant_filter_iterator<MeshBase::Predicate,
1977  const ElemInfo * const,
1978  const ElemInfo * const &,
1979  const ElemInfo * const *>(d, e, p)
1980  {
1981  }
Class used for caching additional information for elements such as the volume and centroid...
Definition: ElemInfo.h:25

◆ const_elem_info_iterator() [2/2]

MooseMesh::const_elem_info_iterator::const_elem_info_iterator ( const MooseMesh::elem_info_iterator rhs)
inline

Definition at line 1985 of file MooseMesh.h.

1986  : variant_filter_iterator<MeshBase::Predicate,
1987  const ElemInfo * const,
1988  const ElemInfo * const &,
1989  const ElemInfo * const *>(rhs)
1990  {
1991  }
Class used for caching additional information for elements such as the volume and centroid...
Definition: ElemInfo.h:25

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