Salome HOME
+ interface SMESH_IDSource;
authoreap <eap@opencascade.com>
Wed, 15 Sep 2010 11:45:49 +0000 (11:45 +0000)
committereap <eap@opencascade.com>
Wed, 15 Sep 2010 11:45:49 +0000 (11:45 +0000)
+  typedef sequence<SMESH_IDSource> ListOfIDSources;

+  typedef sequence<ElementType> array_of_ElementType ;

  interface SMESH_IDSource
  {
+
+    /*!
+     * Returns types of elements it contains
+     */
+    array_of_ElementType GetTypes();
   };

idl/SMESH_Mesh.idl

index a06e663d55aae4e9715c2019642663fc3d83d684..cc97d1e14bed63a706a0877f4122723b4ff2183b 100644 (file)
@@ -37,6 +37,8 @@ module SMESH
   typedef sequence<SMESH_Hypothesis> ListOfHypothesis;
   interface SMESH_GroupBase;
   typedef sequence<SMESH_GroupBase> ListOfGroups;
+  interface SMESH_IDSource;
+  typedef sequence<SMESH_IDSource> ListOfIDSources;
 
   typedef sequence<double    > double_array ;
   typedef sequence<long      > long_array ;
@@ -116,6 +118,7 @@ module SMESH
     VOLUME,
     ELEM0D
   };
+  typedef sequence<ElementType> array_of_ElementType ;
 
   /*!
    * Enumeration for element geometry type, like in SMDS
@@ -257,6 +260,11 @@ module SMESH
      * Result array of number enityties
      */
     long_array GetMeshInfo();
+
+    /*!
+     * Returns types of elements it contains
+     */
+    array_of_ElementType GetTypes();
   };
 
   interface SMESH_Group;