Salome HOME
CCAR: improve speed of getAIS by calling CreatePrs that uses entry2aisobjects map
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx
1 //  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  This library is free software; you can redistribute it and/or
4 //  modify it under the terms of the GNU Lesser General Public
5 //  License as published by the Free Software Foundation; either
6 //  version 2.1 of the License.
7 //
8 //  This library is distributed in the hope that it will be useful,
9 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 //  Lesser General Public License for more details.
12 //
13 //  You should have received a copy of the GNU Lesser General Public
14 //  License along with this library; if not, write to the Free Software
15 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
21 #define _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
22
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
25 #endif
26 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
27 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx>
28 #endif
29
30 #ifndef _GEOMAlgo_PassKeyShape_HeaderFile
31 #include <GEOMAlgo_PassKeyShape.hxx>
32 #endif
33 #ifndef _TopoDS_Shape_HeaderFile
34 #include <TopoDS_Shape.hxx>
35 #endif
36 #ifndef _TCollection_MapNode_HeaderFile
37 #include <TCollection_MapNode.hxx>
38 #endif
39 #ifndef _TCollection_MapNodePtr_HeaderFile
40 #include <TCollection_MapNodePtr.hxx>
41 #endif
42 class GEOMAlgo_PassKeyShape;
43 class TopoDS_Shape;
44 class GEOMAlgo_PassKeyShapeMapHasher;
45 class GEOMAlgo_DataMapOfPassKeyShapeShape;
46 class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape;
47
48
49
50 class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape : public TCollection_MapNode {
51
52 public:
53  // Methods PUBLIC
54  // 
55
56 GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape(const GEOMAlgo_PassKeyShape& K,const TopoDS_Shape& I,const TCollection_MapNodePtr& n);
57
58   GEOMAlgo_PassKeyShape& Key() const;
59
60   TopoDS_Shape& Value() const;
61 //Standard_EXPORT ~GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape();
62
63
64
65
66  // Type management
67  //
68  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
69  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
70
71 protected:
72
73  // Methods PROTECTED
74  // 
75
76
77  // Fields PROTECTED
78  //
79
80
81 private: 
82
83  // Methods PRIVATE
84  // 
85
86
87  // Fields PRIVATE
88  //
89 GEOMAlgo_PassKeyShape myKey;
90 TopoDS_Shape myValue;
91
92
93 };
94
95 #define TheKey GEOMAlgo_PassKeyShape
96 #define TheKey_hxx <GEOMAlgo_PassKeyShape.hxx>
97 #define TheItem TopoDS_Shape
98 #define TheItem_hxx <TopoDS_Shape.hxx>
99 #define Hasher GEOMAlgo_PassKeyShapeMapHasher
100 #define Hasher_hxx <GEOMAlgo_PassKeyShapeMapHasher.hxx>
101 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
102 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx>
103 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape
104 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape.hxx>
105 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
106 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_Type_()
107 #define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyShapeShape
108 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyShapeShape.hxx>
109
110 #include <TCollection_DataMapNode.lxx>
111
112 #undef TheKey
113 #undef TheKey_hxx
114 #undef TheItem
115 #undef TheItem_hxx
116 #undef Hasher
117 #undef Hasher_hxx
118 #undef TCollection_DataMapNode
119 #undef TCollection_DataMapNode_hxx
120 #undef TCollection_DataMapIterator
121 #undef TCollection_DataMapIterator_hxx
122 #undef Handle_TCollection_DataMapNode
123 #undef TCollection_DataMapNode_Type_
124 #undef TCollection_DataMap
125 #undef TCollection_DataMap_hxx
126
127
128 // other Inline functions and methods (like "C++: function call" methods)
129 //
130
131
132 #endif