libMesh
Public Member Functions | Public Attributes | List of all members
libMesh::mapvector< Val, index_t >::veclike_iterator Class Reference

#include <mapvector.h>

Public Member Functions

 veclike_iterator (const typename maptype::iterator &i)
 
 veclike_iterator (const veclike_iterator &i)
 
Val & operator* () const
 
veclike_iteratoroperator++ ()
 
veclike_iterator operator++ (int)
 
bool operator== (const veclike_iterator &other) const
 
bool operator!= (const veclike_iterator &other) const
 

Public Attributes

maptype::iterator it
 

Detailed Description

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

Definition at line 54 of file mapvector.h.

Constructor & Destructor Documentation

template<typename Val, typename index_t = unsigned int>
libMesh::mapvector< Val, index_t >::veclike_iterator::veclike_iterator ( const typename maptype::iterator &  i)
template<typename Val, typename index_t = unsigned int>
libMesh::mapvector< Val, index_t >::veclike_iterator::veclike_iterator ( const veclike_iterator i)

Definition at line 60 of file mapvector.h.

61  : it(i.it) {}

Member Function Documentation

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

Definition at line 77 of file mapvector.h.

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

77  {
78  return it != other.it;
79  }
template<typename Val, typename index_t = unsigned int>
Val& libMesh::mapvector< Val, index_t >::veclike_iterator::operator* ( ) const

Definition at line 63 of file mapvector.h.

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

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

Definition at line 65 of file mapvector.h.

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

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

Definition at line 67 of file mapvector.h.

67  {
68  veclike_iterator i = *this;
69  ++(*this);
70  return i;
71  }
veclike_iterator(const typename maptype::iterator &i)
Definition: mapvector.h:57
template<typename Val, typename index_t = unsigned int>
bool libMesh::mapvector< Val, index_t >::veclike_iterator::operator== ( const veclike_iterator other) const

Definition at line 73 of file mapvector.h.

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

73  {
74  return it == other.it;
75  }

Member Data Documentation

template<typename Val, typename index_t = unsigned int>
maptype::iterator libMesh::mapvector< Val, index_t >::veclike_iterator::it

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