Salome HOME
bos #29469: Advanced geometry features: Detect type of shape
[modules/geom.git] / src / GEOMImpl / GEOMImpl_Gen.hxx
index c777a3a6bab70c0ec3001fefdf4983d157349122..86237a72e8d1566ba0fe9b14bfddf898f0e2f1e8 100644 (file)
@@ -1,24 +1,25 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef _GEOMImpl_GEN_HXX_
 #define _GEOMImpl_GEN_HXX_
 
@@ -38,6 +39,9 @@
 #include "GEOMImpl_IInsertOperations.hxx"
 #include "GEOMImpl_IMeasureOperations.hxx"
 #include "GEOMImpl_IGroupOperations.hxx"
+#include "GEOMImpl_IFieldOperations.hxx"
+#include "GEOMImpl_ITestOperations.hxx"
+#include "GEOMImpl_ICanonicalRecognition.hxx"
 #include "GEOM_Engine.hxx"
 
 class GEOMIMPL_EXPORT GEOMImpl_Gen : public GEOM_Engine
@@ -46,44 +50,53 @@ class GEOMIMPL_EXPORT GEOMImpl_Gen : public GEOM_Engine
   GEOMImpl_Gen();
   ~GEOMImpl_Gen();
 
-  GEOMImpl_IBasicOperations* GetIBasicOperations(int theDocID);
+  GEOMImpl_IBasicOperations* GetIBasicOperations();
+
+  GEOMImpl_ITransformOperations* GetITransformOperations();
+
+  GEOMImpl_I3DPrimOperations* GetI3DPrimOperations();
+
+  GEOMImpl_IShapesOperations* GetIShapesOperations();
 
-  GEOMImpl_ITransformOperations* GetITransformOperations(int theDocID);
+  GEOMImpl_IBlocksOperations* GetIBlocksOperations();
 
-  GEOMImpl_I3DPrimOperations* GetI3DPrimOperations(int theDocID);
+  GEOMImpl_IMeasureOperations* GetIMeasureOperations();
 
-  GEOMImpl_IShapesOperations* GetIShapesOperations(int theDocID);
+  GEOMImpl_IBooleanOperations* GetIBooleanOperations();
 
-  GEOMImpl_IBlocksOperations* GetIBlocksOperations(int theDocID);
+  GEOMImpl_ICurvesOperations* GetICurvesOperations();
 
-  GEOMImpl_IMeasureOperations* GetIMeasureOperations(int theDocID);
+  GEOMImpl_ILocalOperations* GetILocalOperations();
 
-  GEOMImpl_IBooleanOperations* GetIBooleanOperations(int theDocID);
+  GEOMImpl_IInsertOperations* GetIInsertOperations();
 
-  GEOMImpl_ICurvesOperations* GetICurvesOperations(int theDocID);
+  GEOMImpl_IHealingOperations* GetIHealingOperations();
 
-  GEOMImpl_ILocalOperations* GetILocalOperations(int theDocID);
+  GEOMImpl_IGroupOperations* GetIGroupOperations();
 
-  GEOMImpl_IInsertOperations* GetIInsertOperations(int theDocID);
+  GEOMImpl_IFieldOperations* GetIFieldOperations();
 
-  GEOMImpl_IHealingOperations* GetIHealingOperations(int theDocID);
+  GEOMImpl_ITestOperations* GetITestOperations();
 
-  GEOMImpl_IGroupOperations* GetIGroupOperations(int theDocID);
+  GEOMImpl_ICanonicalRecognition* GetICanonicalRecognition();
 
  private:
 
-  std::map <int, GEOMImpl_IBasicOperations*>     _mapOfBasicOperations;
-  std::map <int, GEOMImpl_ITransformOperations*> _mapOfTransformOperations;
-  std::map <int, GEOMImpl_I3DPrimOperations*>    _mapOf3DPrimOperations;
-  std::map <int, GEOMImpl_IShapesOperations*>    _mapOfShapesOperations;
-  std::map <int, GEOMImpl_IBlocksOperations*>    _mapOfBlocksOperations;
-  std::map <int, GEOMImpl_IBooleanOperations*>   _mapOfBooleanOperations;
-  std::map <int, GEOMImpl_IHealingOperations*>   _mapOfHealingOperations;
-  std::map <int, GEOMImpl_ICurvesOperations*>    _mapOfCurvesOperations;
-  std::map <int, GEOMImpl_ILocalOperations*>     _mapOfLocalOperations;
-  std::map <int, GEOMImpl_IInsertOperations*>    _mapOfInsertOperations;
-  std::map <int, GEOMImpl_IMeasureOperations*>   _mapOfMeasureOperations;
-  std::map <int, GEOMImpl_IGroupOperations*>   _mapOfGroupOperations;
+  GEOMImpl_IBasicOperations*      _BasicOperations;
+  GEOMImpl_ITransformOperations*  _TransformOperations;
+  GEOMImpl_I3DPrimOperations*     _3DPrimOperations;
+  GEOMImpl_IShapesOperations*     _ShapesOperations;
+  GEOMImpl_IBlocksOperations*     _BlocksOperations;
+  GEOMImpl_IBooleanOperations*    _BooleanOperations;
+  GEOMImpl_IHealingOperations*    _HealingOperations;
+  GEOMImpl_ICurvesOperations*     _CurvesOperations;
+  GEOMImpl_ILocalOperations*      _LocalOperations;
+  GEOMImpl_IInsertOperations*     _InsertOperations;
+  GEOMImpl_IMeasureOperations*    _MeasureOperations;
+  GEOMImpl_IGroupOperations*      _GroupOperations;
+  GEOMImpl_IFieldOperations*      _FieldOperations;
+  GEOMImpl_ITestOperations*       _TestOperations;
+  GEOMImpl_ICanonicalRecognition* _CanonicalRecognition;
 };
 
 #endif