Salome HOME
Integration of PAL/SALOME V2.1.0c from OCC
[modules/smesh.git] / src / SMESHDS / SMESHDS_Group.hxx
index 444914ceeeac211db88ca94e0efae8167d6e0b27..70f080a1de5c20db9fa90362784812c140f6fbdb 100644 (file)
@@ -37,9 +37,12 @@ class SMESHDS_Group : public SMDS_MeshGroup
 {
  public:
 
-  SMESHDS_Group (const SMESHDS_Mesh*       theMesh,
+  SMESHDS_Group (const int                 theID,
+                 const SMESHDS_Mesh*       theMesh,
                  const SMDSAbs_ElementType theType);
 
+  int GetID() const { return myID; }
+
   void SetStoreName (const char* theName)
   { myStoreName = theName; }
 
@@ -63,9 +66,10 @@ class SMESHDS_Group : public SMDS_MeshGroup
 
   const SMDS_MeshElement* findInMesh (const int theID) const;
 
-  string myStoreName;
-  int    myCurIndex;
-  int    myCurID;
+  int         myID;
+  std::string myStoreName;
+  int         myCurIndex;
+  int         myCurID;
 
 };