Main Page   Class Hierarchy   Compound List   File List   Compound Members  

GeMesh::FaceConstIterator Class Reference

Iterator for faces, using the FaceWrapper facade. More...

#include <freecloth/geom/geMesh.h>

Inheritance diagram for GeMesh::FaceConstIterator:

Inheritance graph
[legend]
Collaboration diagram for GeMesh::FaceConstIterator:

Collaboration graph
[legend]
List of all members.

Public Methods

 FaceConstIterator ()
 FaceConstIterator (const GeMesh &, FaceId)
FaceConstIterator & operator++ ()
FaceConstIterator operator++ (int)
FaceConstIterator & operator-- ()
FaceConstIterator operator-- (int)
bool operator== (const FaceConstIterator &) const
bool operator!= (const FaceConstIterator &) const
const FaceWrapperoperator * () const
const FaceWrapperoperator-> () const

Static Public Methods

FaceConstIterator begin (const GeMesh &)
FaceConstIterator end (const GeMesh &)

Private Methods

 FaceConstIterator (const FaceWrapper &)
 Private constructor used by the public named constructors.


Private Attributes

GeMesh::FaceWrapper _wrapper
 We have to keep a wrapper as a member for the -> operator to work.


Friends

class GeMesh
class GeMeshBuilder

Detailed Description

Iterator for faces, using the FaceWrapper facade.

Essentially, this is just like vector<Face>::const_iterator, but returns a FaceWrapper object through the * and -> operators.

Pattern: Iterator

Definition at line 282 of file geMesh.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 16:51:17 2003 for Freecloth by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002