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 53 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)
inline

Definition at line 56 of file mapvector.h.

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

Definition at line 59 of file mapvector.h.

60  : 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
inline

Definition at line 76 of file mapvector.h.

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

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

Definition at line 62 of file mapvector.h.

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

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

Definition at line 64 of file mapvector.h.

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

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

Definition at line 66 of file mapvector.h.

66  {
67  veclike_iterator i = *this;
68  ++(*this);
69  return i;
70  }
template<typename Val, typename index_t = unsigned int>
bool libMesh::mapvector< Val, index_t >::veclike_iterator::operator== ( const veclike_iterator other) const
inline

Definition at line 72 of file mapvector.h.

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

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

Member Data Documentation


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

Site Created By: libMesh Developers
Last modified: February 07 2014 16:57:26 UTC

Hosted By:
SourceForge.net Logo