libMesh::mapvector< Val, index_t >::const_veclike_iterator Class Reference

#include <mapvector.h>

Public Member Functions

 const_veclike_iterator (const typename maptype::const_iterator &i)
 
 const_veclike_iterator (const const_veclike_iterator &i)
 
 const_veclike_iterator (const veclike_iterator &i)
 
const Val & operator* () const
 
const_veclike_iteratoroperator++ ()
 
const_veclike_iterator operator++ (int)
 
bool operator== (const const_veclike_iterator &other) const
 
bool operator!= (const const_veclike_iterator &other) const
 

Public Attributes

maptype::const_iterator it
 

Detailed Description

template<typename Val, typename index_t = unsigned int>
class libMesh::mapvector< Val, index_t >::const_veclike_iterator

Definition at line 84 of file mapvector.h.

Constructor & Destructor Documentation

◆ const_veclike_iterator() [1/3]

template<typename Val, typename index_t = unsigned int>
libMesh::mapvector< Val, index_t >::const_veclike_iterator::const_veclike_iterator ( const typename maptype::const_iterator &  i)
inline

Definition at line 87 of file mapvector.h.

88  : it(i) {}

◆ const_veclike_iterator() [2/3]

template<typename Val, typename index_t = unsigned int>
libMesh::mapvector< Val, index_t >::const_veclike_iterator::const_veclike_iterator ( const const_veclike_iterator i)
inline

Definition at line 90 of file mapvector.h.

91  : it(i.it) {}

◆ const_veclike_iterator() [3/3]

template<typename Val, typename index_t = unsigned int>
libMesh::mapvector< Val, index_t >::const_veclike_iterator::const_veclike_iterator ( const veclike_iterator i)
inline

Definition at line 93 of file mapvector.h.

94  : it(i.it) {}

Member Function Documentation

◆ operator!=()

template<typename Val, typename index_t = unsigned int>
bool libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator!= ( const const_veclike_iterator other) const
inline

Definition at line 110 of file mapvector.h.

References libMesh::mapvector< Val, index_t >::const_veclike_iterator::it.

110  {
111  return it != other.it;
112  }

◆ operator*()

template<typename Val, typename index_t = unsigned int>
const Val& libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator* ( ) const
inline

Definition at line 96 of file mapvector.h.

References libMesh::mapvector< Val, index_t >::const_veclike_iterator::it.

96 { return it->second; }

◆ operator++() [1/2]

template<typename Val, typename index_t = unsigned int>
const_veclike_iterator& libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator++ ( )
inline

Definition at line 98 of file mapvector.h.

References libMesh::mapvector< Val, index_t >::const_veclike_iterator::it.

98 { ++it; return *this; }

◆ operator++() [2/2]

template<typename Val, typename index_t = unsigned int>
const_veclike_iterator libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator++ ( int  )
inline

Definition at line 100 of file mapvector.h.

100  {
101  veclike_iterator i = *this;
102  ++(*this);
103  return i;
104  }

◆ operator==()

template<typename Val, typename index_t = unsigned int>
bool libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator== ( const const_veclike_iterator other) const
inline

Definition at line 106 of file mapvector.h.

References libMesh::mapvector< Val, index_t >::const_veclike_iterator::it.

106  {
107  return it == other.it;
108  }

Member Data Documentation

◆ it


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