Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMImpl_Gen.hxx
Go to the documentation of this file.
1 // Copyright (C) 2007-2016 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, or (at your option) any later version.
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 
23 #ifndef _GEOMImpl_GEN_HXX_
24 #define _GEOMImpl_GEN_HXX_
25 
26 #include <GEOM_GEOMImpl.hxx>
27 
28 #include <map>
29 
43 #include "GEOM_Engine.hxx"
44 
46 {
47  public:
48  GEOMImpl_Gen();
49  ~GEOMImpl_Gen();
50 
51  GEOMImpl_IBasicOperations* GetIBasicOperations(int theDocID);
52 
53  GEOMImpl_ITransformOperations* GetITransformOperations(int theDocID);
54 
55  GEOMImpl_I3DPrimOperations* GetI3DPrimOperations(int theDocID);
56 
57  GEOMImpl_IShapesOperations* GetIShapesOperations(int theDocID);
58 
59  GEOMImpl_IBlocksOperations* GetIBlocksOperations(int theDocID);
60 
61  GEOMImpl_IMeasureOperations* GetIMeasureOperations(int theDocID);
62 
63  GEOMImpl_IBooleanOperations* GetIBooleanOperations(int theDocID);
64 
65  GEOMImpl_ICurvesOperations* GetICurvesOperations(int theDocID);
66 
67  GEOMImpl_ILocalOperations* GetILocalOperations(int theDocID);
68 
69  GEOMImpl_IInsertOperations* GetIInsertOperations(int theDocID);
70 
71  GEOMImpl_IHealingOperations* GetIHealingOperations(int theDocID);
72 
73  GEOMImpl_IGroupOperations* GetIGroupOperations(int theDocID);
74 
75  GEOMImpl_IFieldOperations* GetIFieldOperations(int theDocID);
76 
77  private:
78 
79  std::map <int, GEOMImpl_IBasicOperations*> _mapOfBasicOperations;
80  std::map <int, GEOMImpl_ITransformOperations*> _mapOfTransformOperations;
81  std::map <int, GEOMImpl_I3DPrimOperations*> _mapOf3DPrimOperations;
82  std::map <int, GEOMImpl_IShapesOperations*> _mapOfShapesOperations;
83  std::map <int, GEOMImpl_IBlocksOperations*> _mapOfBlocksOperations;
84  std::map <int, GEOMImpl_IBooleanOperations*> _mapOfBooleanOperations;
85  std::map <int, GEOMImpl_IHealingOperations*> _mapOfHealingOperations;
86  std::map <int, GEOMImpl_ICurvesOperations*> _mapOfCurvesOperations;
87  std::map <int, GEOMImpl_ILocalOperations*> _mapOfLocalOperations;
88  std::map <int, GEOMImpl_IInsertOperations*> _mapOfInsertOperations;
89  std::map <int, GEOMImpl_IMeasureOperations*> _mapOfMeasureOperations;
90  std::map <int, GEOMImpl_IGroupOperations*> _mapOfGroupOperations;
91  std::map <int, GEOMImpl_IFieldOperations*> _mapOfFieldOperations;
92 };
93 
94 #endif