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)
// ===========================================================================================
/*!
- * \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
*/
TPythonDump&
operator<<(const SMESH::double_array& theArg);
+ TPythonDump&
+ operator<<(const SMESH::string_array& theArg);
+
TPythonDump&
operator<<(SMESH::SMESH_Hypothesis_ptr theArg);