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 Member Functions

 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 Member Functions

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

Private Member Functions

 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 280 of file geMesh.h.


The documentation for this class was generated from the following files:
Generated on Wed Apr 23 15:58:54 2003 for Freecloth by doxygen1.3-rc3