X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_STEPImport.h;h=b206962cbcabd70ea31ad4a1a1397ccccb5fd1e7;hb=b2a662eec6a0258d51a67ee7e341541e7a710752;hp=dc3299669ccc6d877b7b88bd5f4955aff45dce15;hpb=b4be68ffcb00b8b9276a94b05ea613d9c411fde6;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h b/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h index dc3299669..b206962cb 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h @@ -1,35 +1,23 @@ // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -/* - * GEOMALGOAPI_STEPImport.h - * - * Created on: Dec 24, 2014 - * Author: sbh - */ +// File: GEOMALGOAPI_STEPImport.h +// Created: Dec 24, 2014 +// Author: Sergey BELASH + #ifndef GEOMALGOAPI_STEPIMPORT_H_ #define GEOMALGOAPI_STEPIMPORT_H_ #include -#include -#include -#include -#include - -namespace STEPImport { +#include -/// Implementation of the import parameter from the STEP file -GEOMALGOAPI_EXPORT -Handle(TCollection_HAsciiString) GetValue(const TCollection_AsciiString& theFileName, - const TCollection_AsciiString& theParameterName, - TCollection_AsciiString& theError); +#include /// Implementation of the import STEP files algorithms GEOMALGOAPI_EXPORT -TopoDS_Shape Import(const TCollection_AsciiString& theFileName, - const TCollection_AsciiString& theFormatName, TCollection_AsciiString& theError, - const TDF_Label& theShapeLabel); -} +std::shared_ptr STEPImport(const std::string& theFileName, + const std::string& theFormatName, + std::string& theError); #endif /* GEOMALGOAPI_STEPIMPORT_H_ */