Back to index

salome-med  6.5.0
MEDMEM_Group_i.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //=============================================================================
00024 // File      : MEDMEM_Group_i.hxx
00025 // Project   : SALOME
00026 // Author    : EDF
00027 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Group_i.hxx
00028 //=============================================================================
00029 //
00030 #ifndef MED_GROUP_I_HXX_
00031 #define MED_GROUP_I_HXX_
00032 
00033 #include "MEDMEM_I.hxx"
00034 
00035 #include "MEDMEM_Support_i.hxx"
00036 
00037 namespace MEDMEM {
00038 class FAMILY_i;
00039 class GROUP;
00040 
00041 class MEDMEM_I_EXPORT GROUP_i:
00042                 virtual public POA_SALOME_MED::GROUP,
00043                 virtual public SUPPORT_i
00044 {
00045 protected :
00046     GROUP_i();
00047     ~GROUP_i();
00048 
00049     // C++ object containing values
00050     const ::MEDMEM::GROUP * const  _group;
00051 
00052 public :
00053     // Constructors and associated internal methods
00054     GROUP_i(const ::MEDMEM::GROUP * const g);
00055     GROUP_i(const GROUP_i & g);
00056 
00057     CORBA::Long               getNumberOfFamilies() 
00058                                         throw (SALOME::SALOME_Exception);
00059     SALOME_MED::Family_array* getFamilies()              
00060                                         throw (SALOME::SALOME_Exception);
00061     SALOME_MED::FAMILY_ptr    getFamily(CORBA::Long i) 
00062                                         throw (SALOME::SALOME_Exception);
00063 };
00064 }
00065 
00066 #endif /* MED_GROUP_I_HXX_ */