X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_STEPExport.h;h=5376a050b1c43092d50f99d4106bd9bc2509e1e1;hb=cacdf9c1e4b42af09db1aa302897a3188b77e0b0;hp=e05a59ff1d52eac335c540635087e4d28f4ee6c1;hpb=d7d6265cce5e49374130cb4c6a4cfb3a90eba875;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h b/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h index e05a59ff1..5376a050b 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h @@ -1,36 +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); -} +bool STEPExport(const std::string& theFileName, + const std::string& theFormatName, + const std::shared_ptr& theShape, + std::string& theError); #endif /* GEOMALGOAPI_STEPEXPORT_H_ */