+
+//================================================================================
+/*!
+ * \brief Sets a new name
+ */
+//================================================================================
+
+void SMESH_Group::SetName (const char* theName)
+{
+ myName = theName;
+ myGroupDS->SetStoreName( theName );
+}
+
+//================================================================================
+/*!
+ * \brief Return persistent group ID. It is negative if no SMESHDS_GroupBase exist
+ */
+//================================================================================
+
+int SMESH_Group::GetID() const
+{
+ return myGroupDS ? myGroupDS->GetID() : -1;
+}