Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
23586: [EDF] HYDRO: Copy mesh to new geometry
[modules/smesh.git]
/
src
/
SMESH_I
/
SMESH_PythonDump.hxx
diff --git
a/src/SMESH_I/SMESH_PythonDump.hxx
b/src/SMESH_I/SMESH_PythonDump.hxx
index 595e732fa952be39a50f2372bba61d872e0bdae4..944ad307fba0c25337e39a264873cdcc389dae4c 100644
(file)
--- a/
src/SMESH_I/SMESH_PythonDump.hxx
+++ b/
src/SMESH_I/SMESH_PythonDump.hxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
3
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
@@
-6,7
+6,7
@@
// 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
// 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.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-27,9
+27,12
@@
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_Mesh)
#include <SALOMEconfig.h>
#include CORBA_SERVER_HEADER(SMESH_Mesh)
+#include CORBA_SERVER_HEADER(SMESH_MeshEditor)
+#include CORBA_SERVER_HEADER(GEOM_Gen)
#include CORBA_SERVER_HEADER(SALOMEDS)
#include <TCollection_AsciiString.hxx>
#include CORBA_SERVER_HEADER(SALOMEDS)
#include <TCollection_AsciiString.hxx>
+#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
#include <sstream>
#include <vector>
#include <sstream>
#include <vector>
@@
-38,7
+41,6
@@
class SMESH_Gen_i;
class SMESH_MeshEditor_i;
class SMESH_Gen_i;
class SMESH_MeshEditor_i;
-class Resource_DataMapOfAsciiStringAsciiString;
// ===========================================================================================
/*!
// ===========================================================================================
/*!
@@
-60,7
+62,7
@@
public:
* \param theRemovedObjIDs - entries of objects whose created commands were removed
* \param theHistoricalDump - true means to keep all commands, false means
* to exclude commands relating to objects removed from study
* \param theRemovedObjIDs - entries of objects whose created commands were removed
* \param theHistoricalDump - true means to keep all commands, false means
* to exclude commands relating to objects removed from study
- * \retval TCollection_AsciiString - Conver
t
ion result
+ * \retval TCollection_AsciiString - Conver
s
ion result
*/
static void
ConvertScript(std::list< TCollection_AsciiString >& theScriptLines,
*/
static void
ConvertScript(std::list< TCollection_AsciiString >& theScriptLines,
@@
-88,7
+90,7
@@
namespace SMESH
// ===========================================================================================
/*!
// ===========================================================================================
/*!
- * \brief Object used to make TPythonDump know that its held value can be a varible
+ * \brief Object used to make TPythonDump know that its held value can be a vari
a
ble
*
* TPythonDump substitute TVar with names of notebook variables if any.
*/
*
* TPythonDump substitute TVar with names of notebook variables if any.
*/
@@
-97,6
+99,7
@@
namespace SMESH
struct SMESH_I_EXPORT TVar
{
std::vector< std::string > myVals;
struct SMESH_I_EXPORT TVar
{
std::vector< std::string > myVals;
+ bool myIsList;
TVar(CORBA::Double value);
TVar(CORBA::Long value);
TVar(CORBA::Short value);
TVar(CORBA::Double value);
TVar(CORBA::Long value);
TVar(CORBA::Short value);
@@
-162,6
+165,9
@@
namespace SMESH
TPythonDump&
operator<<(const SMESH::string_array& theArg);
TPythonDump&
operator<<(const SMESH::string_array& theArg);
+ TPythonDump&
+ operator<<(const SMESH::nodes_array& theArg);
+
TPythonDump&
operator<<(SMESH::SMESH_Hypothesis_ptr theArg);
TPythonDump&
operator<<(SMESH::SMESH_Hypothesis_ptr theArg);
@@
-216,9
+222,27
@@
namespace SMESH
TPythonDump&
operator<<(const SMESH::ListOfGroups * theList);
TPythonDump&
operator<<(const SMESH::ListOfGroups * theList);
+ TPythonDump&
+ operator<<(const GEOM::ListOfGO& theList);
+
+ TPythonDump&
+ operator<<(const GEOM::ListOfGBO& theList);
+
TPythonDump&
operator<<(const SMESH::ListOfIDSources& theList);
TPythonDump&
operator<<(const SMESH::ListOfIDSources& theList);
+ TPythonDump&
+ operator<<(const SMESH::submesh_array& theList);
+
+ TPythonDump&
+ operator<<(const SMESH::ListOfHypothesis& theList);
+
+ TPythonDump&
+ operator<<(const SMESH::CoincidentFreeBorders& theCFB);
+
+ TPythonDump&
+ operator<<(const std::string& theArg);
+
static const char* SMESHGenName() { return "smeshgen"; }
static const char* MeshEditorName() { return "mesh_editor"; }
static const char* NotPublishedObjectName();
static const char* SMESHGenName() { return "smeshgen"; }
static const char* MeshEditorName() { return "mesh_editor"; }
static const char* NotPublishedObjectName();