GemaCoreLib
The GeMA Core library
Public Member Functions | Public Attributes | List of all members
GmForeachCellHelperClass< T > Class Template Reference

Helper class for the GmForeachActiveXxxx() family of macros. More...

#include <gmCellMesh.h>

Public Member Functions

 GmForeachCellHelperClass (const T *container, bool activeOnly)
 Constructor. Positions the iterator on the first active cell.
 
void inc (const T *container, bool activeOnly)
 Increments the iterator.
 

Public Attributes

int _index
 The current index.
 
int _n
 The number of cells in the container (either a mesh or a cell group set)
 
int _control
 The controls flag used to allow breaking inside the inner loop.
 

Detailed Description

template<class T>
class GmForeachCellHelperClass< T >

Helper class for the GmForeachActiveXxxx() family of macros.


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