Salome HOME
Fix Makefile.am
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx
1 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE\r
2 //\r
3 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,\r
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS\r
5 //\r
6 // This library is free software; you can redistribute it and/or\r
7 // modify it under the terms of the GNU Lesser General Public\r
8 // License as published by the Free Software Foundation; either\r
9 // version 2.1 of the License.\r
10 //\r
11 // This library is distributed in the hope that it will be useful,\r
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
14 // Lesser General Public License for more details.\r
15 //\r
16 // You should have received a copy of the GNU Lesser General Public\r
17 // License along with this library; if not, write to the Free Software\r
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
19 //\r
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
21 \r
22 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile\r
23 #define _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile\r
24 \r
25 #ifndef _Standard_HeaderFile\r
26 #include <Standard.hxx>\r
27 #endif\r
28 #ifndef _Standard_DefineHandle_HeaderFile\r
29 #include <Standard_DefineHandle.hxx>\r
30 #endif\r
31 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile\r
32 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>\r
33 #endif\r
34 \r
35 #ifndef _TopoDS_Shape_HeaderFile\r
36 #include <TopoDS_Shape.hxx>\r
37 #endif\r
38 #ifndef _gp_Pnt_HeaderFile\r
39 #include <gp_Pnt.hxx>\r
40 #endif\r
41 #ifndef _TCollection_MapNode_HeaderFile\r
42 #include <TCollection_MapNode.hxx>\r
43 #endif\r
44 #ifndef _TCollection_MapNodePtr_HeaderFile\r
45 #include <TCollection_MapNodePtr.hxx>\r
46 #endif\r
47 \r
48 class TopoDS_Shape;\r
49 class gp_Pnt;\r
50 class TopTools_ShapeMapHasher;\r
51 class GEOMAlgo_DataMapOfShapePnt;\r
52 class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt;\r
53 \r
54 class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt : public TCollection_MapNode\r
55 {\r
56 public:\r
57   GEOMAlgo_DataMapNodeOfDataMapOfShapePnt\r
58   (const TopoDS_Shape& K, const gp_Pnt& I, const TCollection_MapNodePtr& n);\r
59 \r
60   TopoDS_Shape& Key() const;\r
61   gp_Pnt& Value() const;\r
62 \r
63   DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)\r
64 \r
65 private: \r
66   TopoDS_Shape myKey;\r
67   gp_Pnt myValue;\r
68 };\r
69 \r
70 #define TheKey TopoDS_Shape\r
71 #define TheKey_hxx <TopoDS_Shape.hxx>\r
72 #define TheItem gp_Pnt\r
73 #define TheItem_hxx <gp_Pnt.hxx>\r
74 #define Hasher TopTools_ShapeMapHasher\r
75 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>\r
76 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt\r
77 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>\r
78 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt\r
79 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>\r
80 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt\r
81 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()\r
82 #define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt\r
83 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapePnt.hxx>\r
84 \r
85 #include <TCollection_DataMapNode.lxx>\r
86 \r
87 #undef TheKey\r
88 #undef TheKey_hxx\r
89 #undef TheItem\r
90 #undef TheItem_hxx\r
91 #undef Hasher\r
92 #undef Hasher_hxx\r
93 #undef TCollection_DataMapNode\r
94 #undef TCollection_DataMapNode_hxx\r
95 #undef TCollection_DataMapIterator\r
96 #undef TCollection_DataMapIterator_hxx\r
97 #undef Handle_TCollection_DataMapNode\r
98 #undef TCollection_DataMapNode_Type_\r
99 #undef TCollection_DataMap\r
100 #undef TCollection_DataMap_hxx\r
101 \r
102 #endif\r