1 //=============================================================================
2 // File : SMESH_MEDSupport_i.hxx
4 // Copyright : EDF 2001
5 //=============================================================================
7 #ifndef _MED_SMESH_MEDSUPPORT_I_HXX_
8 #define _MED_SMESH_MEDSUPPORT_I_HXX_
10 #include <SALOMEconfig.h>
11 #include CORBA_SERVER_HEADER(MED)
14 #include "SMESHDS_Mesh.hxx"
15 #include "SMESHDS_SubMesh.hxx"
16 #include "SMDS_MeshElement.hxx"
17 #include "SMDS_MeshNode.hxx"
19 #include "SMESH_MEDSupport_i.hxx"
21 class SMESH_subMesh_i;
23 class SMESH_MEDSupport_i:
24 public POA_SALOME_MED::SUPPORT,
25 public PortableServer::RefCountServantBase
30 ~SMESH_MEDSupport_i();
35 Handle_SMESHDS_SubMesh _subMeshDS;
36 ::SMESH_subMesh_i* _subMesh_i;
38 Handle_SMESHDS_Mesh _meshDS;
41 bool _isOnAllElements;
45 SALOME_MED::medEntityMesh _entity;
46 SALOME_MED::medGeometryElement * _geometricType;
47 int _numberOfGeometricType;
52 // Constructors and associated internal methods
53 SMESH_MEDSupport_i(SMESH_subMesh_i* sm,
56 SALOME_MED::medEntityMesh entity);
57 SMESH_MEDSupport_i(const SMESH_MEDSupport_i & s);
60 char * getName() throw (SALOME::SALOME_Exception);
61 char * getDescription() throw (SALOME::SALOME_Exception);
62 SALOME_MED::MESH_ptr getMesh() throw (SALOME::SALOME_Exception);
63 CORBA::Boolean isOnAllElements() throw (SALOME::SALOME_Exception);
64 SALOME_MED::medEntityMesh getEntity() throw (SALOME::SALOME_Exception);
65 CORBA::Long getNumberOfElements(SALOME_MED::medGeometryElement geomElement)
66 throw (SALOME::SALOME_Exception);
67 Engines::long_array* getNumber(SALOME_MED::medGeometryElement geomElement)
68 throw (SALOME::SALOME_Exception);
69 Engines::long_array* getNumberIndex()
70 throw (SALOME::SALOME_Exception);
71 CORBA::Long getNumberOfGaussPoints(SALOME_MED::medGeometryElement geomElement)
72 throw (SALOME::SALOME_Exception);
73 SALOME_MED::medGeometryElement_array* getTypes()
74 throw (SALOME::SALOME_Exception);
75 CORBA::Long getCorbaIndex() throw (SALOME::SALOME_Exception);
76 void createSeq() throw (SALOME::SALOME_Exception);
81 #endif /* _MED_MEDSUPPORT_I_HXX_ */