1 // Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 //=============================================================================
24 // File : MEDMEM_Family_i.hxx
27 // $Header: /export/home/PAL/MED_SRC/src/MEDMEM_I/MEDMEM_Family_i.hxx
28 //=============================================================================
30 #ifndef MED_FAMILY_I_HXX_
31 #define MED_FAMILY_I_HXX_
33 #include "MEDMEM_I.hxx"
35 #include "MEDMEM_Support_i.hxx"
39 class MEDMEM_I_EXPORT FAMILY_i:
40 virtual public POA_SALOME_MED::FAMILY,
41 virtual public SUPPORT_i
47 // C++ object containing values
48 const ::MEDMEM::FAMILY * const _family ;
51 // Constructors and associated internal methods
52 FAMILY_i(const ::MEDMEM::FAMILY * const f);
53 FAMILY_i(const FAMILY_i & f);
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);
80 #endif /* MED_FAMILY_I_HXX_ */