]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_I/SMESH_MEDSupport_i.hxx
Salome HOME
Add new example python script (from CEA)
[modules/smesh.git] / src / SMESH_I / SMESH_MEDSupport_i.hxx
index 68fb7fe419051bbbb4e8d3891f7f6c22f204ebfa..9f78b16cdc27d665df43e5842c091298ac50267b 100644 (file)
 #ifndef _MED_SMESH_MEDSUPPORT_I_HXX_
 #define _MED_SMESH_MEDSUPPORT_I_HXX_
 
+#include "SMESH.hxx"
+
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(MED)
-#include <string>
 
 #include "SMESHDS_Mesh.hxx"
 #include "SMESHDS_SubMesh.hxx"
 
 #include "SMESH_MEDSupport_i.hxx"
 #include "SALOME_GenericObj_i.hh"
+#include <string>
 class SMESH_subMesh_i;
 
-class SMESH_MEDSupport_i:
+class SMESH_I_EXPORT SMESH_MEDSupport_i:
        public virtual POA_SALOME_MED::SUPPORT, public virtual SALOME::GenericObj_i
 {
   public:
 
 // Constructors and associated internal methods
        SMESH_MEDSupport_i(SMESH_subMesh_i * sm,
-               string name, string description, SALOME_MED::medEntityMesh entity);
+    std::string name, std::string description, SALOME_MED::medEntityMesh entity);
        SMESH_MEDSupport_i(const SMESH_MEDSupport_i & s);
 
 // IDL Methods
@@ -66,6 +68,13 @@ class SMESH_MEDSupport_i:
        getNumber(SALOME_MED::medGeometryElement geomElement)
          throw(SALOME::SALOME_Exception);
 
+  /*!
+   * Same function as getNumber.
+   */
+       SALOME_MED::long_array *
+       getNumberFromFile(SALOME_MED::medGeometryElement geomElement)
+         throw(SALOME::SALOME_Exception);
+
        SALOME_MED::long_array * getNumberIndex()
          throw(SALOME::SALOME_Exception);
 
@@ -93,8 +102,8 @@ class SMESH_MEDSupport_i:
        ::SMESH_subMesh_i * _subMesh_i;
 
        SMESHDS_Mesh * _meshDS;
-       string _name;
-       string _description;
+       std::string _name;
+       std::string _description;
        bool _isOnAllElements;
        bool _seqNumber;
        int _seqLength;