Salome HOME
Merge branch 'Dev_0.7.1' of newgeom:newgeom.git into Dev_0.7.1
[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 #include <GeomAlgoAPI.h>
11
12 #include <TCollection_AsciiString.hxx>
13 #include <TCollection_HAsciiString.hxx>
14 #include <TopoDS_Shape.hxx>
15 #include <TDF_Label.hxx>
16
17 namespace STEPImport {
18
19 /// Implementation of the import parameter from the STEP file
20 GEOMALGOAPI_EXPORT
21 Handle(TCollection_HAsciiString) GetValue(const TCollection_AsciiString& theFileName,
22                                           const TCollection_AsciiString& theParameterName,
23                                           TCollection_AsciiString& theError);
24
25 /// Implementation of the import STEP files algorithms
26 GEOMALGOAPI_EXPORT
27 TopoDS_Shape Import(const TCollection_AsciiString& theFileName,
28                     const TCollection_AsciiString& theFormatName, TCollection_AsciiString& theError,
29                     const TDF_Label& theShapeLabel);
30 }