1 // Copyright (C) 2013 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.
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
19 #ifndef _GEOM_IImportExportOperations_i_HeaderFile
20 #define _GEOM_IImportExportOperations_i_HeaderFile
22 #include "GEOMImpl_Gen.hxx"
24 #include <SALOMEconfig.h>
26 #include CORBA_SERVER_HEADER(GEOM_Gen)
27 #include "GEOM_IOperations_i.hh"
28 #include "GEOM_Object_i.hh"
30 #include "GEOMImpl_IImportExportOperations.hxx"
32 class GEOM_I_EXPORT GEOM_IImportExportOperations_i :
33 public virtual POA_GEOM::GEOM_IImportExportOperations,
34 public virtual GEOM_IOperations_i
37 GEOM_IImportExportOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine,
38 ::GEOMImpl_IImportExportOperations* theImpl);
39 ~GEOM_IImportExportOperations_i();
41 CORBA::Boolean ExportXAO (GEOM::GEOM_Object_ptr shape,
42 const GEOM::ListOfGO& groups,
43 const GEOM::ListOfGO& fields,
45 const char* fileName);
46 CORBA::Boolean ImportXAO (const char* fileName,
47 GEOM::GEOM_Object_out shape,
48 GEOM::ListOfGO_out groups,
49 GEOM::ListOfGO_out fields);
50 /*@@ insert new functions before this line @@ do not remove this line @@*/
52 ::GEOMImpl_IImportExportOperations* GetOperations()
53 { return (::GEOMImpl_IImportExportOperations*)GetImpl();}