-// 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;
/*!
*/
-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 ;
/*! Copy Constructor. */
GROUP(const GROUP & m);
/*! Destructor. */
- ~GROUP();
+ virtual ~GROUP();
/*! Copy operator. */
// PN ATTention il n y a pas de copie du vecteur Family ????
inline FAMILY * getFamily(int i) const ;
};
+};
// inline method :
+using namespace MEDMEM;
/*! set the attribut _numberOfFamilies to numberOfFamilies */
//----------------------------------------------------------