Salome HOME
6a7025f8bb98c6b3f4cec4446f3e405167c1c8b0
[modules/shaper.git] / src / ExchangeAPI / ExchangeAPI_Export.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // Name   : ExchangeAPI_Export.h
4 // Purpose: 
5 //
6 // History:
7 // 07/06/16 - Sergey POKHODENKO - Creation of the file
8
9 #ifndef SRC_EXCHANGEAPI_EXCHANGEAPI_EXPORT_H_
10 #define SRC_EXCHANGEAPI_EXCHANGEAPI_EXPORT_H_
11
12 //--------------------------------------------------------------------------------------
13 #include "ExchangeAPI.h"
14
15 #include <list>
16 #include <string>
17
18 #include <ModelHighAPI_Interface.h>
19 #include <ModelHighAPI_Macro.h>
20
21 #include <ExchangePlugin_ExportFeature.h>
22 //--------------------------------------------------------------------------------------
23 class ModelHighAPI_Selection;
24 //--------------------------------------------------------------------------------------
25 /**\ingroup CPPHighAPI
26  * \brief Export to file
27  */
28 EXCHANGEAPI_EXPORT
29 void exportToFile(const std::shared_ptr<ModelAPI_Document> & thePart,
30                   const std::string & theFilePath,
31                   const std::list<ModelHighAPI_Selection> & theSelectionList,
32                   const std::string & theFileFormat = std::string());
33
34 /**\ingroup CPPHighAPI
35  * \brief Export XAO
36  */
37 EXCHANGEAPI_EXPORT
38 void exportToXAO(const std::shared_ptr<ModelAPI_Document> & thePart,
39                  const std::string & theFilePath,
40                  const std::string & theAuthor = std::string(),
41                  const std::string & theGeometryName = std::string());
42
43 //--------------------------------------------------------------------------------------
44 //--------------------------------------------------------------------------------------
45 #endif /* SRC_EXCHANGEAPI_EXCHANGEAPI_EXPORT_H_ */