-
-// =====================
-// class MyGroupIterator
-// =====================
-
-class MyGroupIterator: public SMDS_ElemIterator
-{
- const SMDS_MeshGroup& myGroup;
- public:
- MyGroupIterator(const SMDS_MeshGroup& group): myGroup(group) { myGroup.InitIterator(); }
- bool more() { return myGroup.More(); }
- const SMDS_MeshElement* next() { return myGroup.Next(); }
-};
-