Salome HOME
[bos #38360] [CEA] improve performances of exportXAO and PublishToStudy
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_XAOImport.h
index 8f415ad51d5d57c795a04c96bb6f17fae4b55c9d..f965e8f3d69b1a9111ce54dd260c26d8f574af79 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -36,4 +36,10 @@ std::shared_ptr<GeomAPI_Shape> XAOImport(const std::string& theFileName,
                                           std::string& theError,
                                           XAO::Xao* theXao);
 
+/// Implementation of the import XAO data from memory buffer
+GEOMALGOAPI_EXPORT
+std::shared_ptr<GeomAPI_Shape> XAOImportMem(const std::string& theMemoryBuff,
+                                            std::string& theError,
+                                            XAO::Xao* theXao);
+
 #endif /* GEOMALGOAPI_XAOIMPORT_H_ */