libMesh
Public Member Functions | Public Attributes | List of all members
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

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)

Definition at line 87 of file mapvector.h.

88  : it(i) {}
template<typename Val, typename index_t = unsigned int>
libMesh::mapvector< Val, index_t >::const_veclike_iterator::const_veclike_iterator ( const const_veclike_iterator i)

Definition at line 90 of file mapvector.h.

91  : it(i.it) {}
template<typename Val, typename index_t = unsigned int>
libMesh::mapvector< Val, index_t >::const_veclike_iterator::const_veclike_iterator ( const veclike_iterator i)

Definition at line 93 of file mapvector.h.

94  : it(i.it) {}

Member Function Documentation

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

Definition at line 110 of file mapvector.h.

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

110  {
111  return it != other.it;
112  }
template<typename Val, typename index_t = unsigned int>
const Val& libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator* ( ) const

Definition at line 96 of file mapvector.h.

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

96 { return it->second; }
template<typename Val, typename index_t = unsigned int>
const_veclike_iterator& libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator++ ( )

Definition at line 98 of file mapvector.h.

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

98 { ++it; return *this; }
template<typename Val, typename index_t = unsigned int>
const_veclike_iterator libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator++ ( int  )

Definition at line 100 of file mapvector.h.

100  {
101  veclike_iterator i = *this;
102  ++(*this);
103  return i;
104  }
template<typename Val, typename index_t = unsigned int>
bool libMesh::mapvector< Val, index_t >::const_veclike_iterator::operator== ( const const_veclike_iterator other) const

Definition at line 106 of file mapvector.h.

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

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

Member Data Documentation

template<typename Val, typename index_t = unsigned int>
maptype::const_iterator libMesh::mapvector< Val, index_t >::const_veclike_iterator::it

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