1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // Name : ExchangeAPI_Export.h
7 // 07/06/16 - Sergey POKHODENKO - Creation of the file
9 #ifndef SRC_EXCHANGEAPI_EXCHANGEAPI_EXPORT_H_
10 #define SRC_EXCHANGEAPI_EXCHANGEAPI_EXPORT_H_
12 //--------------------------------------------------------------------------------------
13 #include "ExchangeAPI.h"
18 #include <ModelHighAPI_Interface.h>
19 #include <ModelHighAPI_Macro.h>
21 #include <ExchangePlugin_ExportFeature.h>
22 //--------------------------------------------------------------------------------------
23 class ModelHighAPI_Selection;
24 //--------------------------------------------------------------------------------------
25 /**\ingroup CPPHighAPI
26 * \brief Export to file
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());
34 /**\ingroup CPPHighAPI
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());
43 //--------------------------------------------------------------------------------------
44 //--------------------------------------------------------------------------------------
45 #endif /* SRC_EXCHANGEAPI_EXCHANGEAPI_EXPORT_H_ */