Mesh::EdgeIterator Class Reference

#include <Mesh.h>

List of all members.


Detailed Description

Definition at line 236 of file Mesh.h.

Public Member Functions

 EdgeIterator ()
 EdgeIterator (EdgeSet *_edges)
EdgeIteratoroperator++ (void)
EdgeIterator operator++ (int)
EdgeIteratoroperator-- (void)
EdgeIterator operator-- (int)
Edgeedge (void) const
void reset ()
bool end (void)

Private Attributes

EdgeSet::iterator eIter
EdgeSetedgesPtr


Constructor & Destructor Documentation

Mesh::EdgeIterator::EdgeIterator  )  [inline]
 

Definition at line 242 of file Mesh.h.

00242                      {
00243           edgesPtr = NULL;
00244       }

Mesh::EdgeIterator::EdgeIterator EdgeSet _edges  )  [inline]
 

Definition at line 246 of file Mesh.h.

00246                                      {
00247           eIter = _edges->begin();
00248           edgesPtr = _edges;
00249       }


Member Function Documentation

Edge* Mesh::EdgeIterator::edge void   )  const [inline]
 

Definition at line 265 of file Mesh.h.

00265 { return *eIter; }

bool Mesh::EdgeIterator::end void   )  [inline]
 

Definition at line 269 of file Mesh.h.

00269 { return eIter == edgesPtr->end();}

EdgeIterator Mesh::EdgeIterator::operator++ int   )  [inline]
 

Definition at line 254 of file Mesh.h.

00254                                     {
00255           EdgeIterator r = *this; ++*this; return r;
00256       }

EdgeIterator& Mesh::EdgeIterator::operator++ void   )  [inline]
 

Definition at line 250 of file Mesh.h.

00250                                       {
00251           eIter++; eIter++;
00252           return *this;
00253       }

EdgeIterator Mesh::EdgeIterator::operator-- int   )  [inline]
 

Definition at line 261 of file Mesh.h.

00261                                     {
00262           EdgeIterator r = *this; --*this; return r;
00263       }

EdgeIterator& Mesh::EdgeIterator::operator-- void   )  [inline]
 

Definition at line 257 of file Mesh.h.

00257                                       {
00258           eIter--; eIter--;
00259           return *this;
00260       }

void Mesh::EdgeIterator::reset  )  [inline]
 

Definition at line 268 of file Mesh.h.

00268 {eIter = edgesPtr->begin(); }


Member Data Documentation

EdgeSet* Mesh::EdgeIterator::edgesPtr [private]
 

Definition at line 239 of file Mesh.h.

EdgeSet::iterator Mesh::EdgeIterator::eIter [private]
 

Definition at line 238 of file Mesh.h.


The documentation for this class was generated from the following file:
Generated on Sat Jun 3 13:33:43 2006 for CirclePatterns by  doxygen 1.4.5