Back to index

salome-geom  6.5.0
GEOMImpl_Gen.hxx
Go to the documentation of this file.
00001 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 #ifndef _GEOMImpl_GEN_HXX_
00024 #define _GEOMImpl_GEN_HXX_
00025 
00026 #include <GEOM_GEOMImpl.hxx>
00027 
00028 #include <map>
00029 
00030 #include "GEOMImpl_IBasicOperations.hxx"
00031 #include "GEOMImpl_ITransformOperations.hxx"
00032 #include "GEOMImpl_I3DPrimOperations.hxx"
00033 #include "GEOMImpl_IShapesOperations.hxx"
00034 #include "GEOMImpl_IBlocksOperations.hxx"
00035 #include "GEOMImpl_IBooleanOperations.hxx"
00036 #include "GEOMImpl_IHealingOperations.hxx"
00037 #include "GEOMImpl_ICurvesOperations.hxx"
00038 #include "GEOMImpl_ILocalOperations.hxx"
00039 #include "GEOMImpl_IInsertOperations.hxx"
00040 #include "GEOMImpl_IMeasureOperations.hxx"
00041 #include "GEOMImpl_IGroupOperations.hxx"
00042 #include "GEOMImpl_IAdvancedOperations.hxx"
00043 #include "GEOM_Engine.hxx"
00044 
00045 class GEOMIMPL_EXPORT GEOMImpl_Gen : public GEOM_Engine
00046 {
00047  public:
00048   GEOMImpl_Gen();
00049   ~GEOMImpl_Gen();
00050 
00051   GEOMImpl_IBasicOperations* GetIBasicOperations(int theDocID);
00052 
00053   GEOMImpl_ITransformOperations* GetITransformOperations(int theDocID);
00054 
00055   GEOMImpl_I3DPrimOperations* GetI3DPrimOperations(int theDocID);
00056 
00057   GEOMImpl_IShapesOperations* GetIShapesOperations(int theDocID);
00058 
00059   GEOMImpl_IBlocksOperations* GetIBlocksOperations(int theDocID);
00060 
00061   GEOMImpl_IMeasureOperations* GetIMeasureOperations(int theDocID);
00062 
00063   GEOMImpl_IBooleanOperations* GetIBooleanOperations(int theDocID);
00064 
00065   GEOMImpl_ICurvesOperations* GetICurvesOperations(int theDocID);
00066 
00067   GEOMImpl_ILocalOperations* GetILocalOperations(int theDocID);
00068 
00069   GEOMImpl_IInsertOperations* GetIInsertOperations(int theDocID);
00070 
00071   GEOMImpl_IHealingOperations* GetIHealingOperations(int theDocID);
00072 
00073   GEOMImpl_IGroupOperations* GetIGroupOperations(int theDocID);
00074 
00075   GEOMImpl_IAdvancedOperations* GetIAdvancedOperations(int theDocID);
00076 
00077  private:
00078 
00079   std::map <int, GEOMImpl_IBasicOperations*>     _mapOfBasicOperations;
00080   std::map <int, GEOMImpl_ITransformOperations*> _mapOfTransformOperations;
00081   std::map <int, GEOMImpl_I3DPrimOperations*>    _mapOf3DPrimOperations;
00082   std::map <int, GEOMImpl_IShapesOperations*>    _mapOfShapesOperations;
00083   std::map <int, GEOMImpl_IBlocksOperations*>    _mapOfBlocksOperations;
00084   std::map <int, GEOMImpl_IBooleanOperations*>   _mapOfBooleanOperations;
00085   std::map <int, GEOMImpl_IHealingOperations*>   _mapOfHealingOperations;
00086   std::map <int, GEOMImpl_ICurvesOperations*>    _mapOfCurvesOperations;
00087   std::map <int, GEOMImpl_ILocalOperations*>     _mapOfLocalOperations;
00088   std::map <int, GEOMImpl_IInsertOperations*>    _mapOfInsertOperations;
00089   std::map <int, GEOMImpl_IMeasureOperations*>   _mapOfMeasureOperations;
00090   std::map <int, GEOMImpl_IGroupOperations*>     _mapOfGroupOperations;
00091   std::map <int, GEOMImpl_IAdvancedOperations*>  _mapOfAdvancedOperations;
00092 };
00093 
00094 #endif