]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMImpl/GEOMImpl_Gen.hxx
Salome HOME
Add new command GetShapesOnBox.
[modules/geom.git] / src / GEOMImpl / GEOMImpl_Gen.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 //
20
21 #ifndef _GEOMImpl_GEN_HXX_
22 #define _GEOMImpl_GEN_HXX_
23
24 #include <map>
25
26 #include "GEOMImpl_IBasicOperations.hxx"
27 #include "GEOMImpl_ITransformOperations.hxx"
28 #include "GEOMImpl_I3DPrimOperations.hxx"
29 #include "GEOMImpl_IShapesOperations.hxx"
30 #include "GEOMImpl_IBlocksOperations.hxx"
31 #include "GEOMImpl_IBooleanOperations.hxx"
32 #include "GEOMImpl_IHealingOperations.hxx"
33 #include "GEOMImpl_ICurvesOperations.hxx"
34 #include "GEOMImpl_ILocalOperations.hxx"
35 #include "GEOMImpl_IInsertOperations.hxx"
36 #include "GEOMImpl_IMeasureOperations.hxx"
37 #include "GEOMImpl_IGroupOperations.hxx"
38 #include "GEOM_Engine.hxx"
39
40 #ifdef WNT
41 #include <SALOME_WNT.hxx>
42 #else
43 #define SALOME_WNT_EXPORT 
44 #endif
45
46 class SALOME_WNT_EXPORT GEOMImpl_Gen : public GEOM_Engine
47 {
48  public:
49   GEOMImpl_Gen();
50   ~GEOMImpl_Gen();
51
52   GEOMImpl_IBasicOperations* GetIBasicOperations(int theDocID);
53
54   GEOMImpl_ITransformOperations* GetITransformOperations(int theDocID);
55
56   GEOMImpl_I3DPrimOperations* GetI3DPrimOperations(int theDocID);
57
58   GEOMImpl_IShapesOperations* GetIShapesOperations(int theDocID);
59
60   GEOMImpl_IBlocksOperations* GetIBlocksOperations(int theDocID);
61
62   GEOMImpl_IMeasureOperations* GetIMeasureOperations(int theDocID);
63
64   GEOMImpl_IBooleanOperations* GetIBooleanOperations(int theDocID);
65
66   GEOMImpl_ICurvesOperations* GetICurvesOperations(int theDocID);
67
68   GEOMImpl_ILocalOperations* GetILocalOperations(int theDocID);
69
70   GEOMImpl_IInsertOperations* GetIInsertOperations(int theDocID);
71
72   GEOMImpl_IHealingOperations* GetIHealingOperations(int theDocID);
73
74   GEOMImpl_IGroupOperations* GetIGroupOperations(int theDocID);
75
76  private:
77
78   std::map <int, GEOMImpl_IBasicOperations*>     _mapOfBasicOperations;
79   std::map <int, GEOMImpl_ITransformOperations*> _mapOfTransformOperations;
80   std::map <int, GEOMImpl_I3DPrimOperations*>    _mapOf3DPrimOperations;
81   std::map <int, GEOMImpl_IShapesOperations*>    _mapOfShapesOperations;
82   std::map <int, GEOMImpl_IBlocksOperations*>    _mapOfBlocksOperations;
83   std::map <int, GEOMImpl_IBooleanOperations*>   _mapOfBooleanOperations;
84   std::map <int, GEOMImpl_IHealingOperations*>   _mapOfHealingOperations;
85   std::map <int, GEOMImpl_ICurvesOperations*>    _mapOfCurvesOperations;
86   std::map <int, GEOMImpl_ILocalOperations*>     _mapOfLocalOperations;
87   std::map <int, GEOMImpl_IInsertOperations*>    _mapOfInsertOperations;
88   std::map <int, GEOMImpl_IMeasureOperations*>   _mapOfMeasureOperations;
89   std::map <int, GEOMImpl_IGroupOperations*>   _mapOfGroupOperations;
90 };
91
92 #endif