]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_I/SMESH_PythonDump.hxx
Salome HOME
Mantis issue 0020812: Register() and Destroy() of the GenericObj.
[modules/smesh.git] / src / SMESH_I / SMESH_PythonDump.hxx
index 1ea9f59ff7bc9e1d204a63f6f3a2dab8fe5276ab..afcd15ddb6cb7baf0db12b34898c9d5f12841d7b 100644 (file)
@@ -1,4 +1,4 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+//  Copyright (C) 2007-2010  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
@@ -19,6 +19,7 @@
 //
 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef _SMESH_PYTHONDUMP_HXX_
 #define _SMESH_PYTHONDUMP_HXX_
 
@@ -56,14 +57,14 @@ public:
   static TCollection_AsciiString
   ConvertScript(const TCollection_AsciiString& theScript,
                 Resource_DataMapOfAsciiStringAsciiString& theEntry2AccessorMethod,
-               Resource_DataMapOfAsciiStringAsciiString& theObjectNames);
+                Resource_DataMapOfAsciiStringAsciiString& theObjectNames);
 
   /*!
    * \brief Return the name of the python file wrapping IDL API
     * \retval TCollection_AsciiString - The file name
    */
   static const char* SmeshpyName() { return "smesh"; }
-  static const char* GenName() { return "smesh.smesh"; }
+  static const char* GenName() { return "smesh"; }
 };
 
 namespace SMESH
@@ -108,12 +109,21 @@ namespace SMESH
     TPythonDump& 
     operator<<(const SMESH::ElementType& theArg);
 
+    TPythonDump&
+    operator<<(const SMESH::GeometryType& theArg);
+
     TPythonDump& 
     operator<<(const SMESH::long_array& theArg);
 
     TPythonDump& 
     operator<<(const SMESH::double_array& theArg);
 
+    TPythonDump& 
+    operator<<(SMESH::SMESH_Hypothesis_ptr theArg);
+
+    TPythonDump& 
+    operator<<(SMESH::SMESH_IDSource_ptr theArg);
+
     TPythonDump& 
     operator<<(SALOMEDS::SObject_ptr theArg);