Salome HOME
[PythonAPI] Add new model example: Platine.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_STEPExport.h
index e05a59ff1d52eac335c540635087e4d28f4ee6c1..5376a050b1c43092d50f99d4106bd9bc2509e1e1 100644 (file)
@@ -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 <GeomAlgoAPI.h>
 
-#include <TCollection_AsciiString.hxx>
-#include <TCollection_HAsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TDF_Label.hxx>
+#include <string>
 
-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 <GeomAPI_Shape.h>
 
 /// 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<GeomAPI_Shape>& theShape,
+                std::string& theError);
 
 #endif /* GEOMALGOAPI_STEPEXPORT_H_ */