// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
const SMESHDS_Mesh* theMesh,
const SMDSAbs_ElementType theType):
myID(theID), myMesh(theMesh), myType(theType), myStoreName(""),
- myCurIndex(0), myCurID(0)
+ myCurIndex(0), myCurID(-1), myColorGroup(0)
{
}
return aElem;
}
+//=============================================================================
+/*!
+ * Internal method: resets cached iterator, should be called by ancestors
+ * when they are modified (ex: Add() or Remove() )
+ */
+//=============================================================================
+void SMESHDS_GroupBase::resetIterator()
+{
+ myCurIndex = 0;
+ myCurID = -1;
+}
+
//=======================================================================
//function : Extent
//purpose :