From: eap Date: Tue, 11 Oct 2005 13:35:18 +0000 (+0000) Subject: PAL10196. Make SetId() public X-Git-Tag: ForTest_3_1_0a2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=482a58db1be716040955d1f187d32e01e6001ba2;p=modules%2Fsmesh.git PAL10196. Make SetId() public --- diff --git a/src/DriverMED/DriverMED_Family.h b/src/DriverMED/DriverMED_Family.h index 944b9bc82..1632ccb3b 100644 --- a/src/DriverMED/DriverMED_Family.h +++ b/src/DriverMED/DriverMED_Family.h @@ -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 elements, common with , // Create family 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