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