mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
+ operator<<(const SMESH::string_array& theArg);
This commit is contained in:
parent
66bf37ad1a
commit
edba852a43
@ -178,6 +178,19 @@ namespace SMESH
|
||||
return *this;
|
||||
}
|
||||
|
||||
TPythonDump&
|
||||
TPythonDump::operator<<(const SMESH::string_array& theArray)
|
||||
{
|
||||
myStream << "[ ";
|
||||
for (int i = 1; i <= theArray.length(); i++) {
|
||||
myStream << "'" << theArray[i-1] << "'";
|
||||
if ( i < theArray.length() )
|
||||
myStream << ", ";
|
||||
}
|
||||
myStream << " ]";
|
||||
return *this;
|
||||
}
|
||||
|
||||
TPythonDump&
|
||||
TPythonDump::
|
||||
operator<<(SALOMEDS::SObject_ptr aSObject)
|
||||
|
@ -38,7 +38,7 @@ class Resource_DataMapOfAsciiStringAsciiString;
|
||||
|
||||
// ===========================================================================================
|
||||
/*!
|
||||
* \brief Tool converting SMESH engine calls into commands defined in smesh.py
|
||||
* \brief Tool converting SMESH engine calls into commands defined in smeshDC.py
|
||||
*
|
||||
* Implementation is in SMESH_2smeshpy.cxx
|
||||
*/
|
||||
@ -119,6 +119,9 @@ namespace SMESH
|
||||
TPythonDump&
|
||||
operator<<(const SMESH::double_array& theArg);
|
||||
|
||||
TPythonDump&
|
||||
operator<<(const SMESH::string_array& theArg);
|
||||
|
||||
TPythonDump&
|
||||
operator<<(SMESH::SMESH_Hypothesis_ptr theArg);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user