From: eap Date: Tue, 18 Oct 2005 12:45:27 +0000 (+0000) Subject: PAL10196. Make SetId() public X-Git-Tag: V2_2_6~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c278e57c77a3f377162d137193b2b6a48d6a5e9e;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