www.mooseframework.org
Public Types | Public Member Functions | Private Attributes | List of all members
Moose::_enumerate_struct< Iterator > Struct Template Reference

#include <Enumerate.h>

Public Types

using iterator = Iterator
 
using index_type = typename std::iterator_traits< iterator >::difference_type
 
using reference = typename std::iterator_traits< iterator >::reference
 

Public Member Functions

 _enumerate_struct (index_type index, iterator iterator)
 
index_type index ()
 
reference value ()
 

Private Attributes

index_type l_index
 
iterator l_iter
 

Detailed Description

template<class Iterator>
struct Moose::_enumerate_struct< Iterator >

Definition at line 19 of file Enumerate.h.

Member Typedef Documentation

◆ index_type

template<class Iterator >
using Moose::_enumerate_struct< Iterator >::index_type = typename std::iterator_traits<iterator>::difference_type

Definition at line 80 of file Enumerate.h.

◆ iterator

template<class Iterator >
using Moose::_enumerate_struct< Iterator >::iterator = Iterator

Definition at line 79 of file Enumerate.h.

◆ reference

template<class Iterator >
using Moose::_enumerate_struct< Iterator >::reference = typename std::iterator_traits<iterator>::reference

Definition at line 81 of file Enumerate.h.

Constructor & Destructor Documentation

◆ _enumerate_struct()

template<class Iterator >
Moose::_enumerate_struct< Iterator >::_enumerate_struct ( index_type  index,
iterator  iterator 
)
inline

Definition at line 83 of file Enumerate.h.

Member Function Documentation

◆ index()

template<class Iterator >
index_type Moose::_enumerate_struct< Iterator >::index ( )
inline

Definition at line 85 of file Enumerate.h.

85 { return l_index; }

◆ value()

template<class Iterator >
reference Moose::_enumerate_struct< Iterator >::value ( )
inline

Definition at line 87 of file Enumerate.h.

87 { return *l_iter; }

Member Data Documentation

◆ l_index

template<class Iterator >
index_type Moose::_enumerate_struct< Iterator >::l_index
private

Definition at line 90 of file Enumerate.h.

Referenced by Moose::_enumerate_struct< Iterator >::index().

◆ l_iter

template<class Iterator >
iterator Moose::_enumerate_struct< Iterator >::l_iter
private

Definition at line 91 of file Enumerate.h.

Referenced by Moose::_enumerate_struct< Iterator >::value().


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