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_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
\r
23 #define _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_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_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile
\r
32 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
\r
35 #ifndef _TopoDS_Shape_HeaderFile
\r
36 #include <TopoDS_Shape.hxx>
\r
38 #ifndef _TopTools_MapOfShape_HeaderFile
\r
39 #include <TopTools_MapOfShape.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_MapOfShape;
\r
50 class TopTools_ShapeMapHasher;
\r
51 class GEOMAlgo_DataMapOfShapeMapOfShape;
\r
52 class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape;
\r
54 class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape : public TCollection_MapNode {
\r
57 GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
\r
58 (const TopoDS_Shape& K, const TopTools_MapOfShape& I, const TCollection_MapNodePtr& n);
\r
60 TopoDS_Shape& Key() const;
\r
61 TopTools_MapOfShape& Value() const;
\r
63 DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)
\r
67 TopTools_MapOfShape myValue;
\r
70 #define TheKey TopoDS_Shape
\r
71 #define TheKey_hxx <TopoDS_Shape.hxx>
\r
72 #define TheItem TopTools_MapOfShape
\r
73 #define TheItem_hxx <TopTools_MapOfShape.hxx>
\r
74 #define Hasher TopTools_ShapeMapHasher
\r
75 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
\r
76 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
\r
77 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx>
\r
78 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape
\r
79 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx>
\r
80 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape
\r
81 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_()
\r
82 #define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape
\r
83 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfShapeMapOfShape.hxx>
\r
85 #include <TCollection_DataMapNode.lxx>
\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