X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH%2FSMESH_Group.hxx;h=de954d8327077619a044a4ee3656dff656fcf066;hp=f378be29696008a32361cbc0a2c04536b002abf5;hb=0fc0831670e27a5611b941c52dc152fd63964515;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6 diff --git a/src/SMESH/SMESH_Group.hxx b/src/SMESH/SMESH_Group.hxx index f378be296..de954d832 100644 --- a/src/SMESH/SMESH_Group.hxx +++ b/src/SMESH/SMESH_Group.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,7 +20,7 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// SMESH SMESH : implementaion of SMESH idl descriptions +// SMESH SMESH : implementation of SMESH idl descriptions // File : SMESH_Group.hxx // Author : Michael Sazonov (OCC) // Module : SMESH @@ -52,12 +52,14 @@ class SMESH_EXPORT SMESH_Group SMESH_Group (SMESHDS_GroupBase* groupDS); ~SMESH_Group (); - void SetName (const char* theName) { myName = theName; } + void SetName (const char* theName); const char* GetName () const { return myName.c_str(); } SMESHDS_GroupBase * GetGroupDS () { return myGroupDS; } + int GetID() const; // persistent ID + private: SMESH_Group (const SMESH_Group& theOther); // prohibited copy constructor