Salome HOME
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Remove redundant code...
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_STEPImport.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 /*
4  * GEOMALGOAPI_STEPImport.h
5  *
6  *  Created on: Dec 24, 2014
7  *      Author: sbh
8  */
9
10 #ifndef GEOMALGOAPI_STEPIMPORT_H_
11 #define GEOMALGOAPI_STEPIMPORT_H_
12
13 #include <GeomAlgoAPI.h>
14
15 #include <TCollection_AsciiString.hxx>
16 #include <TCollection_HAsciiString.hxx>
17 #include <TopoDS_Shape.hxx>
18 #include <TDF_Label.hxx>
19
20 namespace STEPImport {
21
22 /// Implementation of the import parameter from the STEP file
23 GEOMALGOAPI_EXPORT
24 Handle(TCollection_HAsciiString) GetValue(const TCollection_AsciiString& theFileName,
25                                           const TCollection_AsciiString& theParameterName,
26                                           TCollection_AsciiString& theError);
27
28 /// Implementation of the import STEP files algorithms
29 GEOMALGOAPI_EXPORT
30 TopoDS_Shape Import(const TCollection_AsciiString& theFileName,
31                     const TCollection_AsciiString& theFormatName,
32                     TCollection_AsciiString& theError);
33 }
34
35 #endif /* GEOMALGOAPI_STEPIMPORT_H_ */