Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/med.git] / src / MedClient / src / MESHClient.cxx
index 3556ef900bbc75ff29757f02592e6d39785d4f6d..f774c4f4886d30cca8fb3d605ac4b18b142ed1ba 100644 (file)
@@ -275,3 +275,28 @@ void MESHClient::removeReference() const
       delete this;
     }
 }
+
+//=============================================================================
+/*!
+ * Write all the content of the MESH using driver referenced by the integer handler index
+ */
+//=============================================================================
+
+void MESHClient::write(int index/*=0*/, const string & driverName/* = ""*/)
+{
+  this->fillCopy();
+  MESH::write(index,driverName);
+}
+
+//================================================================================
+/*!
+ * \brief fillCopy() and then print myself to a stream
+ */
+//================================================================================
+
+void MESHClient::printMySelf(ostream &os) const
+{
+  MESHClient* that = (MESHClient*)this;
+  that->fillCopy();
+  MESH::printMySelf( os );  
+}