PAL10196. Make SetId() public

This commit is contained in:
eap 2005-10-11 13:35:18 +00:00
parent f87e54ae3a
commit 482a58db1b

View File

@ -89,6 +89,9 @@ class DriverMED_Family
const MED::TStringSet& GetGroupNames () const { return myGroupNames; } const MED::TStringSet& GetGroupNames () const { return myGroupNames; }
void SetId (const int theId) { myId = theId; }
// Sets a family ID
private: private:
void Init (SMESHDS_GroupBase* group); void Init (SMESHDS_GroupBase* group);
// Initialize the tool by SMESHDS_GroupBase // Initialize the tool by SMESHDS_GroupBase
@ -104,9 +107,6 @@ class DriverMED_Family
// Remove from <by> elements, common with <Elements>, // Remove from <by> elements, common with <Elements>,
// Create family <common> from common elements, with combined groups list. // 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(); } bool IsEmpty () const { return myElements.empty(); }
// Check, if this family has empty list of elements // Check, if this family has empty list of elements