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
Copyrights update 2015.
[modules/smesh.git]
/
src
/
DriverSTL
/
DriverSTL_R_SMDS_Mesh.cxx
diff --git
a/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx
b/src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx
index ee4da4a6f295ffa4cf7582e054b2d69bab977518..4a02cb29f8d1446d8a45ce33c6bbaf4387b04f3d 100644
(file)
--- a/
src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx
+++ b/
src/DriverSTL/DriverSTL_R_SMDS_Mesh.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
5
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
@@
-22,17
+22,17
@@
#include "DriverSTL_R_SMDS_Mesh.h"
#include "DriverSTL_R_SMDS_Mesh.h"
-#include "SMDS_Mesh.hxx"
-#include "SMDS_MeshElement.hxx"
-#include "SMDS_MeshNode.hxx"
-#include "SMESH_File.hxx"
-
-#include <gp_Pnt.hxx>
#include <Basics_Utils.hxx>
#include <Basics_Utils.hxx>
+#include <gp_Pnt.hxx>
#include <NCollection_DataMap.hxx>
#include <Standard_NoMoreObject.hxx>
#include <NCollection_DataMap.hxx>
#include <Standard_NoMoreObject.hxx>
+#include "SMDS_Mesh.hxx"
+#include "SMDS_MeshElement.hxx"
+#include "SMDS_MeshNode.hxx"
+#include "SMESH_File.hxx"
+
namespace
{
struct Hasher
namespace
{
struct Hasher
@@
-114,6
+114,8
@@
Driver_Mesh::Status DriverSTL_R_SMDS_Mesh::Perform()
SMESH_File file( myFile, /*open=*/false );
if ( !file.open() ) {
fprintf(stderr, ">> ERROR : cannot open file %s \n", myFile.c_str());
SMESH_File file( myFile, /*open=*/false );
if ( !file.open() ) {
fprintf(stderr, ">> ERROR : cannot open file %s \n", myFile.c_str());
+ if ( file.error().empty() )
+ fprintf(stderr, ">> ERROR : %s \n", file.error().c_str());
return DRS_FAIL;
}
return DRS_FAIL;
}