Salome HOME
Adding error handling.
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_IGESExport.h
index 4f0f3cc3411866511b1579f2eeff0b802d51800a..62781d9ea4ee346b8f64c9fc40f9cca6bcd17c4f 100644 (file)
@@ -1,30 +1,23 @@
 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 
-/*
- * GEOMALGOAPI_IGESExport.h
- *
- *  Created on: Dec 24, 2014
- *      Author: sbh
- */
+// File:    GEOMALGOAPI_IGESExport.h
+// Created: Dec 24, 2014
+// Author:  Sergey BELASH
 
 #ifndef GEOMALGOAPI_IGESEXPORT_H_
 #define GEOMALGOAPI_IGESEXPORT_H_
 
 #include <GeomAlgoAPI.h>
 
-#include <TCollection_AsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TDF_Label.hxx>
+#include <string>
 
-namespace IGESExport {
+#include <GeomAPI_Shape.h>
 
 /// Implementation of the export IGES files algorithms
 GEOMALGOAPI_EXPORT
-bool Export(const TCollection_AsciiString& theFileName,
-            const TCollection_AsciiString& theFormatName,
-            const TopoDS_Shape& theShape,
-            TCollection_AsciiString& theError);
-
-}
+bool IGESExport(const std::string& theFileName,
+                const std::string& theFormatName,
+                const std::shared_ptr<GeomAPI_Shape>& theShape,
+                std::string& theError);
 
 #endif /* GEOMALGOAPI_IGESEXPORT_H_ */