Salome HOME
Fix for the bug IPAL22851: Sub-shapes spelling
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx
1 // Copyright (C) 2007-2011  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 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
20 #define _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
21
22 #ifndef _Standard_HeaderFile
23 #include <Standard.hxx>
24 #endif
25 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
26 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx>
27 #endif
28
29 #ifndef _GEOMAlgo_PassKeyShape_HeaderFile
30 #include <GEOMAlgo_PassKeyShape.hxx>
31 #endif
32 #ifndef _TopoDS_Shape_HeaderFile
33 #include <TopoDS_Shape.hxx>
34 #endif
35 #ifndef _TCollection_MapNode_HeaderFile
36 #include <TCollection_MapNode.hxx>
37 #endif
38 #ifndef _TCollection_MapNodePtr_HeaderFile
39 #include <TCollection_MapNodePtr.hxx>
40 #endif
41
42 class GEOMAlgo_PassKeyShape;
43 class TopoDS_Shape;
44 class GEOMAlgo_PassKeyShapeMapHasher;
45 class GEOMAlgo_DataMapOfPassKeyShapeShape;
46 class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape;
47
48 class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape : public TCollection_MapNode {
49
50 public:
51   GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
52   (const GEOMAlgo_PassKeyShape& K, const TopoDS_Shape& I, const TCollection_MapNodePtr& n);
53
54   GEOMAlgo_PassKeyShape& Key() const;
55   TopoDS_Shape& Value() const;
56
57   DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape)
58
59 private: 
60   GEOMAlgo_PassKeyShape myKey;
61   TopoDS_Shape myValue;
62 };
63
64 #define TheKey GEOMAlgo_PassKeyShape
65 #define TheKey_hxx <GEOMAlgo_PassKeyShape.hxx>
66 #define TheItem TopoDS_Shape
67 #define TheItem_hxx <TopoDS_Shape.hxx>
68 #define Hasher GEOMAlgo_PassKeyShapeMapHasher
69 #define Hasher_hxx <GEOMAlgo_PassKeyShapeMapHasher.hxx>
70 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
71 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx>
72 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape
73 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape.hxx>
74 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
75 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_Type_()
76 #define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyShapeShape
77 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyShapeShape.hxx>
78
79 #include <TCollection_DataMapNode.lxx>
80
81 #undef TheKey
82 #undef TheKey_hxx
83 #undef TheItem
84 #undef TheItem_hxx
85 #undef Hasher
86 #undef Hasher_hxx
87 #undef TCollection_DataMapNode
88 #undef TCollection_DataMapNode_hxx
89 #undef TCollection_DataMapIterator
90 #undef TCollection_DataMapIterator_hxx
91 #undef Handle_TCollection_DataMapNode
92 #undef TCollection_DataMapNode_Type_
93 #undef TCollection_DataMap
94 #undef TCollection_DataMap_hxx
95
96 #endif