1 // Copyright (C) 2014 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef __XAOPlugin_IDL__
21 #define __XAOPlugin_IDL__
23 #include "GEOM_Gen.idl"
28 * \brief Interface for XAOPlugin modeling functions.
30 interface IXAOOperations : GEOM::GEOM_IOperations
33 * Export a shape to XAO format
34 * \param shape The shape to export
35 * \param groups The list of groups to export
36 * \param fields The list of fields to export
37 * \param author The author of the export
38 * \param fileName The name of the file to export
39 * \return boolean indicating if export was successful.
41 boolean ExportXAO( in GEOM::GEOM_Object shape,
42 in GEOM::ListOfGO groups,
43 in GEOM::ListOfFields fields,
48 * Import a shape from XAO format
49 * \param fileName The name of the file to import
50 * \param shape The imported shape
51 * \param subShapes The list of imported subShapes
52 * \param groups The list of imported groups
53 * \param fields The list of imported fields
54 * \return boolean indicating if import was successful.
56 boolean ImportXAO( in string fileName,
57 out GEOM::GEOM_Object shape,
58 out GEOM::ListOfGO subShapes,
59 out GEOM::ListOfGO groups,
60 out GEOM::ListOfFields fields );
64 #endif // __XAOPlugin_IDL__