Salome HOME
PAL10196. Make SetId() public
[modules/smesh.git] / src / DriverMED / DriverMED_Family.h
index 944b9bc828e4b0b81f60ef18c5f8e1ffb37dd60a..1632ccb3b71cc57069ead253065b99bd35d727be 100644 (file)
@@ -89,6 +89,9 @@ class DriverMED_Family
 
   const MED::TStringSet& GetGroupNames () const { return myGroupNames; }
 
+  void SetId (const int theId) { myId = theId; }
+  // Sets a family ID
+
  private:
   void Init (SMESHDS_GroupBase* group);
   // Initialize the tool by SMESHDS_GroupBase
@@ -104,9 +107,6 @@ class DriverMED_Family
   // Remove from <by> elements, common with <Elements>,
   // Create family <common> from common elements, with combined groups list.
 
-  void SetId (const int theId) { myId = theId; }
-  // Sets a family ID
-
   bool IsEmpty () const { return myElements.empty(); }
   // Check, if this family has empty list of elements