Salome HOME
update due to bugs PAL8113 and another I do not remember the number ;) .
[modules/med.git] / src / MEDMEM / MEDMEM_Group.hxx
index c19dcdbba7064f8db294156b51815af3671eea27..7407841dd0850763ac3fb20a453cf0297cf82b91 100644 (file)
@@ -1,29 +1,3 @@
-//  MED MEDMEM : MED files in memory
-//
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
-// 
-//  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. 
-// 
-//  This library is distributed in the hope that it will be useful, 
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
-//  Lesser General Public License for more details. 
-// 
-//  You should have received a copy of the GNU Lesser General Public 
-//  License along with this library; if not, write to the Free Software 
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
-// 
-//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
-//
-//
-//
-//  File   : MEDMEM_Group.hxx
-//  Module : MED
-
 /*
  File Group.hxx
  $Header$
 
 #include <vector>
 #include <list>
-//#include "MEDMEM_Support.hxx"
 #include "MEDMEM_Family.hxx"
 
-class FAMILY;
 
 /*!
 
-  This class describe a group of elements on an entity./n
-  It inherits from SUPPORT./n
-  It is a blending of some FAMILY class./n/n
+  This class describe a group of elements on an entity.\n
+  It inherits from SUPPORT.\n
+  It is a blending of some FAMILY class.\n\n
 
 */
 
-class GROUP : public SUPPORT
+namespace MEDMEM {
+class FAMILY;
+class GROUP : virtual public SUPPORT
 {
 protected :
   /*!
     \if developper
     Number of families in the group.
+    \endif
   */
   int             _numberOfFamilies ;
   /*!
     \if developper
     Vector of families in the group.
     Note that Families are numbered from 1 to N.
+    \endif
   */
   vector<FAMILY*> _family ;
   
@@ -70,7 +46,7 @@ public:
   /*! Copy Constructor. */
   GROUP(const GROUP & m);
   /*! Destructor. */
-  ~GROUP();
+  virtual ~GROUP();
 
   /*! Copy operator. */
   // PN ATTention il n y a pas de copie du vecteur Family ????
@@ -130,6 +106,6 @@ FAMILY * GROUP::getFamily(int i) const
 { 
   return _family[i-1]; 
 };
-
+}//End namespace MEDMEM
 
 #endif /* GROUP_HXX */