phdMesh  Version of the Day
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
Public Member Functions | Friends | List of all members
phdmesh::SetvIter< Type, Forward > Class Template Reference

Template class for the Setv bidirectional iterators. More...

#include <Setv.hpp>

Inherits iterator< std::bidirectional_iterator_tag, Type >.

Public Member Functions

 operator bool () const
 Return true if iterator is to a valid entity.
 
 SetvIter ()
 Default constructor to NULL entity.
 
template<class T , bool F>
 SetvIter (const SetvIter< T, F > &x)
 Copy from other similar iterators. Compilation will fail when assigning non-const to const.
 
template<class T , bool F>
SetvIter< Type, Forward > & operator= (const SetvIter< T, F > &x)
 Assign from other similar iterators. Compilation will fail when assigning non-const to const.
 
template<class T , bool F>
bool operator== (const SetvIter< T, F > &y) const
 Return if pointing to the same entity.
 
template<class T , bool F>
bool operator!= (const SetvIter< T, F > &y) const
 Return if not pointing to the same entity.
 
Type & operator* () const
 Reference to a valid entity, null otherwise.
 
Type * operator-> () const
 Pointer to a valid entity, null otherwise.
 
SetvIter< Type, Forward > & operator++ ()
 Increment to the next entity.
 
SetvIter< Type, Forward > & operator-- ()
 Decrement to the previous entity.
 
SetvIter< Type, Forward > operator++ (int)
 Return this iterator and then increment to the next entity.
 
SetvIter< Type, Forward > operator-- (int)
 Return this iterator and then decrement to the previous entity.
 

Friends

template<class T , bool F>
class SetvIter
 
template<class T , class C , class A >
class Setv
 

Detailed Description

template<class Type, bool Forward>
class phdmesh::SetvIter< Type, Forward >

Template class for the Setv bidirectional iterators.

Parameters
TypeThe type of entity.
ForwardIf the iterator is forward (versus backward).

Definition at line 179 of file Setv.hpp.


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