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