Salome HOME
Merge from V6_main 01/04/2013
[modules/med.git] / src / MEDMEM_I / MEDMEM_Family_i.hxx
1 // Copyright (C) 2007-2013  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 //=============================================================================
24 // File      : MEDMEM_Family_i.hxx
25 // Project   : SALOME
26 // Author    : EDF
27 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Family_i.hxx
28 //=============================================================================
29 //
30 #ifndef MED_FAMILY_I_HXX_
31 #define MED_FAMILY_I_HXX_
32
33 #include "MEDMEM_I.hxx"
34
35 #include "MEDMEM_Support_i.hxx"
36
37 namespace MEDMEM {
38 class FAMILY;
39 class MEDMEM_I_EXPORT FAMILY_i:
40                 virtual public POA_SALOME_MED::FAMILY,
41                 virtual public SUPPORT_i
42 {
43 protected :
44     FAMILY_i();
45     ~FAMILY_i();
46
47     // C++ object containing values
48      const ::MEDMEM::FAMILY * const _family ;
49
50 public :
51     // Constructors and associated internal methods
52     FAMILY_i(const ::MEDMEM::FAMILY * const f);
53     FAMILY_i(const FAMILY_i & f);
54
55     CORBA::Long               getIdentifier()      
56                                      throw (SALOME::SALOME_Exception);
57     CORBA::Long               getNumberOfAttributes() 
58                                      throw (SALOME::SALOME_Exception);
59     SALOME_TYPES::ListOfLong*   getAttributesIdentifiers() 
60                                      throw (SALOME::SALOME_Exception);
61     CORBA::Long               getAttributeIdentifier(CORBA::Long i) 
62                                      throw (SALOME::SALOME_Exception);
63     SALOME_TYPES::ListOfLong*   getAttributesValues() 
64                                      throw (SALOME::SALOME_Exception);
65     CORBA::Long               getAttributeValue(CORBA::Long i) 
66                                      throw (SALOME::SALOME_Exception);
67     SALOME_TYPES::ListOfString* getAttributesDescriptions() 
68                                      throw (SALOME::SALOME_Exception);
69     char*                     getAttributeDescription( CORBA::Long i) 
70                                      throw (SALOME::SALOME_Exception);
71     CORBA::Long               getNumberOfGroups()
72                                      throw (SALOME::SALOME_Exception);
73     char *                    getGroupName( CORBA::Long i)
74                                      throw (SALOME::SALOME_Exception);
75     SALOME_TYPES::ListOfString* getGroupsNames()
76                                      throw (SALOME::SALOME_Exception);
77
78 };
79 }
80 #endif /* MED_FAMILY_I_HXX_ */