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

Definition at line 86 of file mapvector.h.

87  : 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)
inline

Definition at line 89 of file mapvector.h.

90  : 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)
inline

Definition at line 92 of file mapvector.h.

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

Definition at line 109 of file mapvector.h.

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

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

Definition at line 95 of file mapvector.h.

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

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

Definition at line 97 of file mapvector.h.

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

97 { ++it; return *this; }
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 99 of file mapvector.h.

99  {
100  veclike_iterator i = *this;
101  ++(*this);
102  return i;
103  }
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 105 of file mapvector.h.

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

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

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