1 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
\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
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
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
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
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
\r
22 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
\r
23 #define _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
\r
25 #ifndef _Standard_HeaderFile
\r
26 #include <Standard.hxx>
\r
28 #ifndef _Standard_DefineHandle_HeaderFile
\r
29 #include <Standard_DefineHandle.hxx>
\r
31 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile
\r
32 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
\r
35 #ifndef _TopoDS_Shape_HeaderFile
\r
36 #include <TopoDS_Shape.hxx>
\r
38 #ifndef _gp_Pnt_HeaderFile
\r
39 #include <gp_Pnt.hxx>
\r
41 #ifndef _TCollection_MapNode_HeaderFile
\r
42 #include <TCollection_MapNode.hxx>
\r
44 #ifndef _TCollection_MapNodePtr_HeaderFile
\r
45 #include <TCollection_MapNodePtr.hxx>
\r
49 class TopTools_ShapeMapHasher;
\r
50 class GEOMAlgo_DataMapOfShapePnt;
\r
51 class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt;
\r
55 class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt : public TCollection_MapNode {
\r
60 GEOMAlgo_DataMapNodeOfDataMapOfShapePnt(const TopoDS_Shape& K,const gp_Pnt& I,const TCollection_MapNodePtr& n);
\r
62 TopoDS_Shape& Key() const;
\r
64 gp_Pnt& Value() const;
\r
69 DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)
\r
85 #define TheKey TopoDS_Shape
\r
86 #define TheKey_hxx <TopoDS_Shape.hxx>
\r
87 #define TheItem gp_Pnt
\r
88 #define TheItem_hxx <gp_Pnt.hxx>
\r
89 #define Hasher TopTools_ShapeMapHasher
\r
90 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
\r
91 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
\r
92 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx>
\r
93 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt
\r
94 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx>
\r
95 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt
\r
96 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_()
\r
97 #define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt
\r
98 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapePnt.hxx>
\r
100 #include <TCollection_DataMapNode.lxx>
\r
108 #undef TCollection_DataMapNode
\r
109 #undef TCollection_DataMapNode_hxx
\r
110 #undef TCollection_DataMapIterator
\r
111 #undef TCollection_DataMapIterator_hxx
\r
112 #undef Handle_TCollection_DataMapNode
\r
113 #undef TCollection_DataMapNode_Type_
\r
114 #undef TCollection_DataMap
\r
115 #undef TCollection_DataMap_hxx
\r
118 // other Inline functions and methods (like "C++: function call" methods)
\r