Salome HOME
update after merging trhe branches CEA_V3_0_x, OCC_V3_1_0_a1_x, and the main
[modules/med.git] / src / MEDMEM_I / MEDMEM_Group_i.hxx
1 //=============================================================================
2 // File      : MEDMEM_Group_i.hxx
3 // Project   : SALOME
4 // Author    : EDF
5 // Copyright : EDF 2002
6 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Group_i.hxx
7 //=============================================================================
8 #ifndef MED_GROUP_I_HXX_
9 #define MED_GROUP_I_HXX_
10
11 #include "MEDMEM_Support_i.hxx"
12
13 namespace MEDMEM {
14 class FAMILY_i;
15 class GROUP;
16
17 class GROUP_i:
18                 public POA_SALOME_MED::GROUP,
19                 public SUPPORT_i
20 {
21 protected :
22     GROUP_i();
23     ~GROUP_i();
24
25     // C++ object containing values
26     const ::MEDMEM::GROUP * const  _group;
27
28 public :
29     // Constructors and associated internal methods
30     GROUP_i(const ::MEDMEM::GROUP * const g);
31     GROUP_i(const GROUP_i & g);
32
33     CORBA::Long               getNumberOfFamilies() 
34                                         throw (SALOME::SALOME_Exception);
35     SALOME_MED::Family_array* getFamilies()              
36                                         throw (SALOME::SALOME_Exception);
37     SALOME_MED::FAMILY_ptr    getFamily(CORBA::Long i) 
38                                         throw (SALOME::SALOME_Exception);
39 };
40 }
41
42 #endif /* MED_GROUP_I_HXX_ */