Mesh::VertexIterator Class Reference

#include <Mesh.h>

List of all members.


Detailed Description

Definition at line 163 of file Mesh.h.

Public Member Functions

 VertexIterator ()
 VertexIterator (VertexSet *_vertices)
VertexIteratoroperator++ (void)
VertexIterator operator++ (int)
VertexIteratoroperator-- (void)
VertexIterator operator-- (int)
Vertexvertex (void) const
void reset ()
bool end (void)

Private Attributes

VertexSet::iterator vIter
VertexSetverticesPtr


Constructor & Destructor Documentation

Mesh::VertexIterator::VertexIterator  )  [inline]
 

Definition at line 168 of file Mesh.h.

00168                        {
00169           verticesPtr = NULL;
00170       }

Mesh::VertexIterator::VertexIterator VertexSet _vertices  )  [inline]
 

Definition at line 172 of file Mesh.h.

00172                                             {
00173           vIter = _vertices->begin();
00174           verticesPtr = _vertices;
00175       }


Member Function Documentation

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

Definition at line 195 of file Mesh.h.

00195 { return vIter == verticesPtr->end();}

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

Definition at line 180 of file Mesh.h.

00180                                       {
00181           VertexIterator r = *this; ++*this; return r;
00182       }

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

Definition at line 176 of file Mesh.h.

00176                                         {
00177           vIter++;
00178           return *this;
00179       }

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

Definition at line 187 of file Mesh.h.

00187                                       {
00188           VertexIterator r = *this; --*this; return r;
00189       }

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

Definition at line 183 of file Mesh.h.

00183                                         {
00184           vIter--;
00185           return *this;
00186       }

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

Definition at line 194 of file Mesh.h.

00194 {vIter = verticesPtr->begin();}

Vertex* Mesh::VertexIterator::vertex void   )  const [inline]
 

Definition at line 191 of file Mesh.h.

00191 { return *vIter; }


Member Data Documentation

VertexSet* Mesh::VertexIterator::verticesPtr [private]
 

Definition at line 166 of file Mesh.h.

VertexSet::iterator Mesh::VertexIterator::vIter [private]
 

Definition at line 165 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