Salome HOME
Fix for the "0021861: EDF 2226 : Documentation of numeric functor option in split...
[modules/smesh.git] / src / SMESH_I / SMESH_MEDSupport_i.hxx
index b30528dad85821094cd127730688eec05133aa33..67761e2e810525c8e66a4e9e32961923b60cba38 100644 (file)
@@ -1,23 +1,23 @@
-//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
 // SMESH SMESH_I : idl implementation based on 'SMESH' unit's calsses
@@ -40,6 +40,7 @@
 
 #include "SMESH_MEDSupport_i.hxx"
 #include "SALOME_GenericObj_i.hh"
+class SMESH_subMesh;
 class SMESH_subMesh_i;
 
 class SMESH_I_EXPORT SMESH_MEDSupport_i:
@@ -55,7 +56,7 @@ class SMESH_I_EXPORT SMESH_MEDSupport_i:
 // IDL Methods
         char *getName() throw(SALOME::SALOME_Exception);
         char *getDescription() throw(SALOME::SALOME_Exception);
-        SALOME_MED::MESH_ptr getMesh() throw(SALOME::SALOME_Exception);
+        SALOME_MED::GMESH_ptr getMesh() throw(SALOME::SALOME_Exception);
         CORBA::Boolean isOnAllElements() throw(SALOME::SALOME_Exception);
         SALOME_MED::medEntityMesh getEntity() throw(SALOME::SALOME_Exception);
         CORBA::Long
@@ -64,25 +65,25 @@ class SMESH_I_EXPORT SMESH_MEDSupport_i:
 
         CORBA::Long getNumberOfTypes() throw (SALOME::SALOME_Exception);
 
-        SALOME_MED::long_array *
+        SALOME_TYPES::ListOfLong *
         getNumber(SALOME_MED::medGeometryElement geomElement)
           throw(SALOME::SALOME_Exception);
 
   /*!
    * Same function as getNumber.
    */
-        SALOME_MED::long_array *
+        SALOME_TYPES::ListOfLong *
         getNumberFromFile(SALOME_MED::medGeometryElement geomElement)
           throw(SALOME::SALOME_Exception);
 
-        SALOME_MED::long_array * getNumberIndex()
+        SALOME_TYPES::ListOfLong * getNumberIndex()
           throw(SALOME::SALOME_Exception);
 
         CORBA::Long
         getNumberOfGaussPoint(SALOME_MED::medGeometryElement geomElement)
           throw(SALOME::SALOME_Exception);
 
-        SALOME_MED::long_array* getNumbersOfGaussPoint()
+        SALOME_TYPES::ListOfLong* getNumbersOfGaussPoint()
           throw (SALOME::SALOME_Exception);
 
         SALOME_MED::medGeometryElement_array *getTypes()
@@ -98,10 +99,9 @@ class SMESH_I_EXPORT SMESH_MEDSupport_i:
         void createSeq() throw(SALOME::SALOME_Exception);
 
   public: //public field
-        const SMESHDS_SubMesh * _subMeshDS;
-        ::SMESH_subMesh_i * _subMesh_i;
+        SMESH_subMesh_i * _subMesh_i;
+        ::SMESH_subMesh * _subMesh;
 
-        SMESHDS_Mesh * _meshDS;
         std::string _name;
         std::string _description;
         bool _isOnAllElements;