Salome HOME
Make import XAO with groups
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_STEPImport.h
index 232f28dced00e767cc03b4f1edb4ea9de4805985..b206962cbcabd70ea31ad4a1a1397ccccb5fd1e7 100644 (file)
@@ -1,30 +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
 
-#include <GeomAlgoAPI.h>
 
-#include <TCollection_AsciiString.hxx>
-#include <TCollection_HAsciiString.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TDF_Label.hxx>
+#ifndef GEOMALGOAPI_STEPIMPORT_H_
+#define GEOMALGOAPI_STEPIMPORT_H_
 
-namespace STEPImport {
+#include <GeomAlgoAPI.h>
 
-/// 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 <string>
+
+#include <GeomAPI_Shape.h>
 
 /// 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<GeomAPI_Shape> STEPImport(const std::string& theFileName,
+                                          const std::string& theFormatName,
+                                          std::string& theError);
+
+#endif /* GEOMALGOAPI_STEPIMPORT_H_ */