Salome HOME
Restart from scratch
[modules/geom.git] / src / GEOMImpl / GEOMImpl_IImportExportOperations.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
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.
7 //
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.
12 //
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
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 //  File   : GEOMImpl_IImportExportOperations.hxx
20 //  Author : Vadim SANDLER, Open CASCADE S.A.S. (vadim.sandler@opencascade.com)
21
22 #ifndef _GEOMImpl_IImportExportOperations_HXX_
23 #define _GEOMImpl_IImportExportOperations_HXX_
24
25 #include <Utils_SALOME_Exception.hxx>
26 #include "GEOM_IOperations.hxx"
27 #include "GEOM_Engine.hxx"
28 #include "GEOM_Object.hxx"
29
30 #include <list>
31
32 class GEOMImpl_IBasicOperations;
33 class GEOMImpl_IBooleanOperations;
34 class GEOMImpl_IShapesOperations;
35 class GEOMImpl_ITransformOperations;
36 class GEOMImpl_IBlocksOperations;
37 class GEOMImpl_I3DPrimOperations;
38 class GEOMImpl_ILocalOperations;
39 class GEOMImpl_IHealingOperations;
40
41 class GEOMImpl_IImportExportOperations: public GEOM_IOperations {
42
43 private:
44   GEOMImpl_IBasicOperations*     myBasicOperations;
45   GEOMImpl_IBooleanOperations*   myBooleanOperations;
46   GEOMImpl_IShapesOperations*    myShapesOperations;
47   GEOMImpl_ITransformOperations* myTransformOperations;
48   GEOMImpl_IBlocksOperations*    myBlocksOperations;
49   GEOMImpl_I3DPrimOperations*    my3DPrimOperations;
50   GEOMImpl_ILocalOperations*     myLocalOperations;
51   GEOMImpl_IHealingOperations*   myHealingOperations;
52   
53 public:
54   Standard_EXPORT GEOMImpl_IImportExportOperations(GEOM_Engine* theEngine, int theDocID);
55   Standard_EXPORT ~GEOMImpl_IImportExportOperations();
56   
57   Standard_EXPORT bool ExportXAO (Handle(GEOM_Object) theExportingShape, const std::string theFileName, std::list<Handle(GEOM_Object)> thelGroups, std::list<Handle(GEOM_Object)> thelFields);
58   /*@@ insert new functions before this line @@ do not remove this line @@*/
59 };
60 #endif