X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_BREPImport.h;h=c6fffe5e123f5f7e3627d233637cd8a27f7ea6fe;hb=4c86b629d1bf8daa737f90b64e934c7bd22f6525;hp=6afbdf0cad1d1c830fe72af945630c70723455a9;hpb=5352bbb1915f98d1f02b1cb953a2de19b286a28c;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h b/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h index 6afbdf0ca..c6fffe5e1 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h @@ -1,29 +1,35 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -/* - * GEOMALGOAPI_BREPImport.h - * - * Created on: Dec 24, 2014 - * Author: sbh - */ +// Copyright (C) 2014-2024 CEA, EDF +// +// 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, or (at your option) any later version. +// +// 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 +// #ifndef GEOMALGOAPI_BREPIMPORT_H_ #define GEOMALGOAPI_BREPIMPORT_H_ #include -#include -#include -#include +#include -namespace BREPImport { +#include /// Implementation of the import BREP files algorithms GEOMALGOAPI_EXPORT -TopoDS_Shape Import(const TCollection_AsciiString& theFileName, - const TCollection_AsciiString& theFormatName, - TCollection_AsciiString& theError); - -} +std::shared_ptr BREPImport(const std::string& theFileName, + const std::string& theFormatName, + std::string& theError); #endif /* GEOMALGOAPI_BREPIMPORT_H_ */