X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FDriverDAT%2FDriverDAT_R_SMESHDS_Mesh.cxx;h=20b74b98f078a2f9ac57444b7109c7cb8cb2fc2d;hb=4b5fd249abfca52265832f10435f18f5bb9c69ae;hp=5102aaaad22f22fd4dd03f4b8a0e6926ce307152;hpb=2a01836df7e8236c96093b7e2f85b567966078dc;p=modules%2Fsmesh.git diff --git a/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx b/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx index 5102aaaad..20b74b98f 100644 --- a/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx +++ b/src/DriverDAT/DriverDAT_R_SMESHDS_Mesh.cxx @@ -1,78 +1,23 @@ -// SMESH DriverDAT : driver to read and write 'dat' files +// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE // -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS -// -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Lesser General Public -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -// -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. // +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// File : DriverDAT_R_SMESHDS_Mesh.cxx -// Module : SMESH -using namespace std; #include "DriverDAT_R_SMESHDS_Mesh.h" -#include "DriverDAT_R_SMDS_Mesh.h" - -#include "utilities.h" - -DriverDAT_R_SMESHDS_Mesh::DriverDAT_R_SMESHDS_Mesh() { -; -} - -DriverDAT_R_SMESHDS_Mesh::~DriverDAT_R_SMESHDS_Mesh() { -; -} - -void DriverDAT_R_SMESHDS_Mesh::SetMesh(Handle(SMDS_Mesh)& aMesh) { - //myMesh = Handle(SMESHDS_Mesh)::DownCast(aMesh); - myMesh = aMesh; -} - -void DriverDAT_R_SMESHDS_Mesh::SetFile(string aFile) { - myFile = aFile; -} - -void DriverDAT_R_SMESHDS_Mesh::SetFileId(FILE* aFileId) { - myFileId = aFileId; -} - -void DriverDAT_R_SMESHDS_Mesh::SetMeshId(int aMeshId) { - myMeshId = aMeshId; -} - -void DriverDAT_R_SMESHDS_Mesh::Add() { - ; -} - -void DriverDAT_R_SMESHDS_Mesh::Read() { - string myClass = string("SMDS_Mesh"); - string myExtension = string("DAT"); - - MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 1"); - DriverDAT_R_SMDS_Mesh* myReader = new DriverDAT_R_SMDS_Mesh; - - MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 2"); - myReader->SetMesh(myMesh); - MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 3"); - myReader->SetFile(myFile); - //myReader->SetFileId(myFileId); - - MESSAGE("in DriverDAT_R_SMESHDS_Mesh::Read() 4"); - myReader->Read(); - -}