Salome HOME
Win32 compliation.
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.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_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
20 #define _GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
21
22 #ifndef _Standard_HeaderFile
23 #include <Standard.hxx>
24 #endif
25 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
26 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.hxx>
27 #endif
28
29 #ifndef _TopoDS_Shape_HeaderFile
30 #include <TopoDS_Shape.hxx>
31 #endif
32 #ifndef _TCollection_MapNode_HeaderFile
33 #include <TCollection_MapNode.hxx>
34 #endif
35 #ifndef _TCollection_MapNodePtr_HeaderFile
36 #include <TCollection_MapNodePtr.hxx>
37 #endif
38
39 class TopoDS_Shape;
40 class TopTools_OrientedShapeMapHasher;
41 class GEOMAlgo_DataMapOfOrientedShapeShape;
42 class GEOMAlgo_DataMapIteratorOfDataMapOfOrientedShapeShape;
43
44 class GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape : public TCollection_MapNode {
45
46 public:
47   GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape
48   (const TopoDS_Shape& K, const TopoDS_Shape& I, const TCollection_MapNodePtr& n);
49
50   TopoDS_Shape& Key() const;
51   TopoDS_Shape& Value() const;
52
53   DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape)
54
55 private:
56   TopoDS_Shape myKey;
57   TopoDS_Shape myValue;
58 };
59
60 #define TheKey TopoDS_Shape
61 #define TheKey_hxx <TopoDS_Shape.hxx>
62 #define TheItem TopoDS_Shape
63 #define TheItem_hxx <TopoDS_Shape.hxx>
64 #define Hasher TopTools_OrientedShapeMapHasher
65 #define Hasher_hxx <TopTools_OrientedShapeMapHasher.hxx>
66 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape
67 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.hxx>
68 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfOrientedShapeShape
69 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfOrientedShapeShape.hxx>
70 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape
71 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_Type_()
72 #define TCollection_DataMap GEOMAlgo_DataMapOfOrientedShapeShape
73 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfOrientedShapeShape.hxx>
74
75 #include <TCollection_DataMapNode.lxx>
76
77 #undef TheKey
78 #undef TheKey_hxx
79 #undef TheItem
80 #undef TheItem_hxx
81 #undef Hasher
82 #undef Hasher_hxx
83 #undef TCollection_DataMapNode
84 #undef TCollection_DataMapNode_hxx
85 #undef TCollection_DataMapIterator
86 #undef TCollection_DataMapIterator_hxx
87 #undef Handle_TCollection_DataMapNode
88 #undef TCollection_DataMapNode_Type_
89 #undef TCollection_DataMap
90 #undef TCollection_DataMap_hxx
91
92 #endif