/src/contrib/geom-5.1.2.7/inc_pythonocc/GEOMImpl_Gen.hxx

http://pythonocc.googlecode.com/ · C++ Header · 84 lines · 53 code · 9 blank · 22 comment · 0 complexity · 56f6da76dd85ff2a7a0db100e837ac55 MD5 · raw file

  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. #ifndef _GEOMImpl_GEN_HXX_
  21. #define _GEOMImpl_GEN_HXX_
  22. #include <map>
  23. #include "GEOMImpl_IBasicOperations.hxx"
  24. #include "GEOMImpl_ITransformOperations.hxx"
  25. #include "GEOMImpl_I3DPrimOperations.hxx"
  26. #include "GEOMImpl_IShapesOperations.hxx"
  27. #include "GEOMImpl_IBlocksOperations.hxx"
  28. #include "GEOMImpl_IBooleanOperations.hxx"
  29. #include "GEOMImpl_IHealingOperations.hxx"
  30. #include "GEOMImpl_ICurvesOperations.hxx"
  31. #include "GEOMImpl_ILocalOperations.hxx"
  32. #include "GEOMImpl_IInsertOperations.hxx"
  33. #include "GEOMImpl_IMeasureOperations.hxx"
  34. #include "GEOMImpl_IGroupOperations.hxx"
  35. #include "SGEOM_Engine.hxx"
  36. #ifdef WNT
  37. //#include <SALOME_WNT.hxx>
  38. #define SALOME_WNT_EXPORT __declspec(dllexport)
  39. #else
  40. #define SALOME_WNT_EXPORT
  41. #endif
  42. //! GEOM engine descendant containing references to Interfaces for GeomImpl
  43. //! geometric drivers
  44. class GEOMImpl_Gen : public GEOM_Engine
  45. {
  46. public:
  47. SALOME_WNT_EXPORT GEOMImpl_Gen();
  48. SALOME_WNT_EXPORT ~GEOMImpl_Gen();
  49. SALOME_WNT_EXPORT GEOMImpl_IBasicOperations* GetIBasicOperations(int theDocID);
  50. SALOME_WNT_EXPORT GEOMImpl_ITransformOperations* GetITransformOperations(int theDocID);
  51. SALOME_WNT_EXPORT GEOMImpl_I3DPrimOperations* GetI3DPrimOperations(int theDocID);
  52. SALOME_WNT_EXPORT GEOMImpl_IShapesOperations* GetIShapesOperations(int theDocID);
  53. SALOME_WNT_EXPORT GEOMImpl_IBlocksOperations* GetIBlocksOperations(int theDocID);
  54. SALOME_WNT_EXPORT GEOMImpl_IMeasureOperations* GetIMeasureOperations(int theDocID);
  55. SALOME_WNT_EXPORT GEOMImpl_IBooleanOperations* GetIBooleanOperations(int theDocID);
  56. SALOME_WNT_EXPORT GEOMImpl_ICurvesOperations* GetICurvesOperations(int theDocID);
  57. SALOME_WNT_EXPORT GEOMImpl_ILocalOperations* GetILocalOperations(int theDocID);
  58. SALOME_WNT_EXPORT GEOMImpl_IInsertOperations* GetIInsertOperations(int theDocID);
  59. SALOME_WNT_EXPORT GEOMImpl_IHealingOperations* GetIHealingOperations(int theDocID);
  60. SALOME_WNT_EXPORT GEOMImpl_IGroupOperations* GetIGroupOperations(int theDocID);
  61. private:
  62. std::map <int, GEOMImpl_IBasicOperations*> _mapOfBasicOperations;
  63. std::map <int, GEOMImpl_ITransformOperations*> _mapOfTransformOperations;
  64. std::map <int, GEOMImpl_I3DPrimOperations*> _mapOf3DPrimOperations;
  65. std::map <int, GEOMImpl_IShapesOperations*> _mapOfShapesOperations;
  66. std::map <int, GEOMImpl_IBlocksOperations*> _mapOfBlocksOperations;
  67. std::map <int, GEOMImpl_IBooleanOperations*> _mapOfBooleanOperations;
  68. std::map <int, GEOMImpl_IHealingOperations*> _mapOfHealingOperations;
  69. std::map <int, GEOMImpl_ICurvesOperations*> _mapOfCurvesOperations;
  70. std::map <int, GEOMImpl_ILocalOperations*> _mapOfLocalOperations;
  71. std::map <int, GEOMImpl_IInsertOperations*> _mapOfInsertOperations;
  72. std::map <int, GEOMImpl_IMeasureOperations*> _mapOfMeasureOperations;
  73. std::map <int, GEOMImpl_IGroupOperations*> _mapOfGroupOperations;
  74. };
  75. #endif