1 // Copyright (C) 2007-2008 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
22 // SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
23 // File : SMESH_MEDFamily_i.hxx
26 #ifndef SMESH_MED_FAMILY_I_HXX_
27 #define SMESH_MED_FAMILY_I_HXX_
31 #include "SMESH_MEDSupport_i.hxx"
35 class SMESH_I_EXPORT SMESH_MEDFamily_i:
36 public virtual POA_SALOME_MED::FAMILY,
37 public virtual SMESH_MEDSupport_i
43 ::SMESH_subMesh_i* _subMesh_i;
47 int _numberOfAttribute;
48 int * _attributeIdentifier;
49 int * _attributeValue;
50 std::string * _attributeDescription;
52 std::string * _groupName ;
57 // Constructors and associated internal methods
58 SMESH_MEDFamily_i(int identifier, SMESH_subMesh_i* sm,
59 std::string name, std::string description, SALOME_MED::medEntityMesh entity );
60 SMESH_MEDFamily_i(const SMESH_MEDFamily_i & f);
63 void setProtocol(SALOME::TypeOfCommunication typ) {}
65 SALOME::SenderInt_ptr getSenderForNumber(SALOME_MED::medGeometryElement) {return SALOME::SenderInt::_nil();}
66 SALOME::SenderInt_ptr getSenderForNumberIndex() {return SALOME::SenderInt::_nil();}
68 CORBA::Long getIdentifier()
69 throw (SALOME::SALOME_Exception);
70 CORBA::Long getNumberOfAttributes()
71 throw (SALOME::SALOME_Exception);
72 SALOME_MED::long_array* getAttributesIdentifiers()
73 throw (SALOME::SALOME_Exception);
74 CORBA::Long getAttributeIdentifier(CORBA::Long i)
75 throw (SALOME::SALOME_Exception);
76 SALOME_MED::long_array* getAttributesValues()
77 throw (SALOME::SALOME_Exception);
78 CORBA::Long getAttributeValue(CORBA::Long i)
79 throw (SALOME::SALOME_Exception);
80 SALOME_MED::string_array* getAttributesDescriptions()
81 throw (SALOME::SALOME_Exception);
82 char* getAttributeDescription( CORBA::Long i)
83 throw (SALOME::SALOME_Exception);
84 CORBA::Long getNumberOfGroups()
85 throw (SALOME::SALOME_Exception);
86 char * getGroupName( CORBA::Long i)
87 throw (SALOME::SALOME_Exception);
88 SALOME_MED::string_array* getGroupsNames()
89 throw (SALOME::SALOME_Exception);
91 #endif /* MED_FAMILY_I_HXX_ */