Salome HOME
Merge from BR_V5_DEV 16Feb09
[modules/med.git] / src / MEDMEM_I / MEDMEM_Family_i.hxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 //
6 //  This library is free software; you can redistribute it and/or
7 //  modify it under the terms of the GNU Lesser General Public
8 //  License as published by the Free Software Foundation; either
9 //  version 2.1 of the License.
10 //
11 //  This library is distributed in the hope that it will be useful,
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 //  Lesser General Public License for more details.
15 //
16 //  You should have received a copy of the GNU Lesser General Public
17 //  License along with this library; if not, write to the Free Software
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 //
20 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 //=============================================================================
23 // File      : MEDMEM_Family_i.hxx
24 // Project   : SALOME
25 // Author    : EDF
26 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Family_i.hxx
27 //=============================================================================
28 //
29 #ifndef MED_FAMILY_I_HXX_
30 #define MED_FAMILY_I_HXX_
31
32 #include "MEDMEM_I.hxx"
33
34 #include "MEDMEM_Support_i.hxx"
35
36 namespace MEDMEM {
37 class FAMILY;
38 class MEDMEM_I_EXPORT FAMILY_i:
39                 virtual public POA_SALOME_MED::FAMILY,
40                 virtual public SUPPORT_i
41 {
42 protected :
43     FAMILY_i();
44     ~FAMILY_i();
45
46     // C++ object containing values
47      const ::MEDMEM::FAMILY * const _family ;
48
49 public :
50     // Constructors and associated internal methods
51     FAMILY_i(const ::MEDMEM::FAMILY * const f);
52     FAMILY_i(const FAMILY_i & f);
53
54     CORBA::Long               getIdentifier()      
55                                      throw (SALOME::SALOME_Exception);
56     CORBA::Long               getNumberOfAttributes() 
57                                      throw (SALOME::SALOME_Exception);
58     SALOME_MED::long_array*   getAttributesIdentifiers() 
59                                      throw (SALOME::SALOME_Exception);
60     CORBA::Long               getAttributeIdentifier(CORBA::Long i) 
61                                      throw (SALOME::SALOME_Exception);
62     SALOME_MED::long_array*   getAttributesValues() 
63                                      throw (SALOME::SALOME_Exception);
64     CORBA::Long               getAttributeValue(CORBA::Long i) 
65                                      throw (SALOME::SALOME_Exception);
66     SALOME_MED::string_array* getAttributesDescriptions() 
67                                      throw (SALOME::SALOME_Exception);
68     char*                     getAttributeDescription( CORBA::Long i) 
69                                      throw (SALOME::SALOME_Exception);
70     CORBA::Long               getNumberOfGroups()
71                                      throw (SALOME::SALOME_Exception);
72     char *                    getGroupName( CORBA::Long i)
73                                      throw (SALOME::SALOME_Exception);
74     SALOME_MED::string_array* getGroupsNames()
75                                      throw (SALOME::SALOME_Exception);
76
77 };
78 }
79 #endif /* MED_FAMILY_I_HXX_ */