X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_STEPExport.h;h=5376a050b1c43092d50f99d4106bd9bc2509e1e1;hb=05cb54cb247bda099b1dc9218e3382e79becb40c;hp=f0bcec1729a7f7f5e368cf0dbd1733b15cbcc063;hpb=b4be68ffcb00b8b9276a94b05ea613d9c411fde6;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h b/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h index f0bcec172..5376a050b 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h @@ -1,37 +1,23 @@ // Copyright (C) 2014-20xx CEA/DEN, EDF R&D -/* - * GEOMALGOAPI_STEPExport.h - * - * Created on: May 14, 2015 - * Author: spo - */ +// File: GEOMALGOAPI_STEPExport.h +// Created: May 14, 2015 +// Author: Sergey POKHODENKO #ifndef GEOMALGOAPI_STEPEXPORT_H_ #define GEOMALGOAPI_STEPEXPORT_H_ #include -#include -#include -#include -#include +#include -namespace STEPExport { - -/// Implementation of the export 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 export STEP files algorithms GEOMALGOAPI_EXPORT -bool Export(const TCollection_AsciiString& theFileName, - const TCollection_AsciiString& theFormatName, - const TopoDS_Shape& theShape, - TCollection_AsciiString& theError, - const TDF_Label& theShapeLabel); -} +bool STEPExport(const std::string& theFileName, + const std::string& theFormatName, + const std::shared_ptr& theShape, + std::string& theError); #endif /* GEOMALGOAPI_STEPEXPORT_H_ */