X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FDriverUNV%2FDriverUNV_W_SMDS_Mesh.cxx;h=b9554e306cd250331eda6df1dded300155f2d784;hb=a3c6d051d0c35a69994dd0bf035d865311a7791d;hp=f0c2203f3b34e712dcd431864795e5f1d0d64fe1;hpb=2322b79c1a8b4a0dda7b15c48442763fe473216d;p=modules%2Fsmesh.git diff --git a/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx b/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx index f0c2203f3..b9554e306 100644 --- a/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx +++ b/src/DriverUNV/DriverUNV_W_SMDS_Mesh.cxx @@ -35,6 +35,7 @@ #include "UNV_Utilities.hxx" using namespace std; +using namespace UNV; namespace{ typedef std::vector TConnect; @@ -292,6 +293,11 @@ Driver_Mesh::Status DriverUNV_W_SMDS_Mesh::Perform() } UNV2417::Write(out_stream,aDataSet2417); }*/ + + out_stream.flush(); + out_stream.close(); + if (!check_file(myFile)) + EXCEPTION(runtime_error,"ERROR: Output file not good."); } catch(const std::exception& exc){ INFOS("Follow exception was cought:\n\t"<