PageRenderTime 33ms CodeModel.GetById 14ms app.highlight 14ms RepoModel.GetById 1ms app.codeStats 1ms

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