]> SALOME platform Git repositories - modules/smesh.git/blobdiff - idl/SMESH_Gen.idl
Salome HOME
to long
[modules/smesh.git] / idl / SMESH_Gen.idl
index 8b8035ca2806363e7af2f10219a32cba40013b10..86e033e64b8580ffae2768edb0cd927611eb81f2 100644 (file)
@@ -49,32 +49,32 @@ module SMESH
    * Tags definition
    */
   // Top level
-  const smIdType Tag_HypothesisRoot = 1; // hypotheses root
-  const smIdType Tag_AlgorithmsRoot = 2; // algorithms root
-  const smIdType Tag_FirstMeshRoot  = 3; // first mesh root
+  const long Tag_HypothesisRoot = 1; // hypotheses root
+  const long Tag_AlgorithmsRoot = 2; // algorithms root
+  const long Tag_FirstMeshRoot  = 3; // first mesh root
   // Mesh/Submesh
-  const smIdType Tag_RefOnShape             = 1; // references to shape
-  const smIdType Tag_RefOnAppliedHypothesis = 2; // applied hypotheses root
-  const smIdType Tag_RefOnAppliedAlgorithms = 3; // applied algorithms root
+  const long Tag_RefOnShape             = 1; // references to shape
+  const long Tag_RefOnAppliedHypothesis = 2; // applied hypotheses root
+  const long Tag_RefOnAppliedAlgorithms = 3; // applied algorithms root
   // Mesh only: sub-meshes roots by type
-  const smIdType Tag_FirstSubMesh           =  4;
-  const smIdType Tag_SubMeshOnVertex        =  4;
-  const smIdType Tag_SubMeshOnEdge          =  5;
-  const smIdType Tag_SubMeshOnWire          =  6;
-  const smIdType Tag_SubMeshOnFace          =  7;
-  const smIdType Tag_SubMeshOnShell         =  8;
-  const smIdType Tag_SubMeshOnSolid         =  9;
-  const smIdType Tag_SubMeshOnCompound      = 10;
-  const smIdType Tag_LastSubMesh            = 10;
+  const long Tag_FirstSubMesh           =  4;
+  const long Tag_SubMeshOnVertex        =  4;
+  const long Tag_SubMeshOnEdge          =  5;
+  const long Tag_SubMeshOnWire          =  6;
+  const long Tag_SubMeshOnFace          =  7;
+  const long Tag_SubMeshOnShell         =  8;
+  const long Tag_SubMeshOnSolid         =  9;
+  const long Tag_SubMeshOnCompound      = 10;
+  const long Tag_LastSubMesh            = 10;
   // Mesh only: group roots by type
-  const smIdType Tag_FirstGroup             = 11;
-  const smIdType Tag_NodeGroups             = 11;
-  const smIdType Tag_EdgeGroups             = 12;
-  const smIdType Tag_FaceGroups             = 13;
-  const smIdType Tag_VolumeGroups           = 14;
-  const smIdType Tag_0DElementsGroups       = 15;
-  const smIdType Tag_BallElementsGroups     = 16;
-  const smIdType Tag_LastGroup              = 16;
+  const long Tag_FirstGroup             = 11;
+  const long Tag_NodeGroups             = 11;
+  const long Tag_EdgeGroups             = 12;
+  const long Tag_FaceGroups             = 13;
+  const long Tag_VolumeGroups           = 14;
+  const long Tag_0DElementsGroups       = 15;
+  const long Tag_BallElementsGroups     = 16;
+  const long Tag_LastGroup              = 16;
 
   /*!
    * Hypothesis definition error
@@ -83,7 +83,7 @@ module SMESH
   {
     Hypothesis_Status  state;
     string             algoName;
-    smIdType           algoDim;
+    long           algoDim;
     boolean            isGlobalAlgo;
   };
   typedef sequence<AlgoStateError> algo_error_array;
@@ -212,11 +212,11 @@ module SMESH
      * Sets number of segments per diagonal of boundary box of geometry by which
      * default segment length of appropriate 1D hypotheses is defined
      */
-    void SetBoundaryBoxSegmentation( in smIdType theNbSegments ) raises ( SALOME::SALOME_Exception );
+    void SetBoundaryBoxSegmentation( in long theNbSegments ) raises ( SALOME::SALOME_Exception );
     /*!
      * \brief Sets default number of segments per edge
      */
-    void SetDefaultNbSegments( in smIdType theNbSegments) raises ( SALOME::SALOME_Exception );
+    void SetDefaultNbSegments( in long theNbSegments) raises ( SALOME::SALOME_Exception );
 
     /*!
      * Set the object name
@@ -446,7 +446,7 @@ module SMESH
      * study or is published by this method with the given name
      */
     GEOM::GEOM_Object GetGeometryByMeshElement( in SMESH_Mesh  theMesh,
-                                                in smIdType    theElementID,
+                                                in long    theElementID,
                                                 in string      theGeomName)
       raises ( SALOME::SALOME_Exception );
 
@@ -455,7 +455,7 @@ module SMESH
      * The returned geometrical object not published in study by this method.
      */
     GEOM::GEOM_Object FindGeometryByMeshElement( in SMESH_Mesh  theMesh,
-                                                 in smIdType    theElementID)
+                                                 in long    theElementID)
       raises ( SALOME::SALOME_Exception );
 
     /*!
@@ -463,7 +463,7 @@ module SMESH
      *
      * Can be used to check if the object was created in the same container, as this engine.
      */
-    smIdType GetObjectId(in Object theObject);
+    long GetObjectId(in Object theObject);
 
     /*!
      * \brief Get version of MED format being used.
@@ -500,7 +500,7 @@ module SMESH
      */
     void Move( in sobject_list what,
               in SALOMEDS::SObject where,
-              in smIdType row );
+              in long row );
     /*!
      * Returns true if algorithm can be used to mesh a given geometry
      *  \param theAlgoType - the algorithm type