1 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
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.
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.
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
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
20 #define _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
22 #ifndef _Standard_HeaderFile
23 #include <Standard.hxx>
25 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
26 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx>
29 #ifndef _GEOMAlgo_PassKeyShape_HeaderFile
30 #include <GEOMAlgo_PassKeyShape.hxx>
32 #ifndef _TopoDS_Shape_HeaderFile
33 #include <TopoDS_Shape.hxx>
35 #ifndef _TCollection_MapNode_HeaderFile
36 #include <TCollection_MapNode.hxx>
38 #ifndef _TCollection_MapNodePtr_HeaderFile
39 #include <TCollection_MapNodePtr.hxx>
42 class GEOMAlgo_PassKeyShape;
44 class GEOMAlgo_PassKeyShapeMapHasher;
45 class GEOMAlgo_DataMapOfPassKeyShapeShape;
46 class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape;
48 class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape : public TCollection_MapNode {
51 GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
52 (const GEOMAlgo_PassKeyShape& K, const TopoDS_Shape& I, const TCollection_MapNodePtr& n);
54 GEOMAlgo_PassKeyShape& Key() const;
55 TopoDS_Shape& Value() const;
57 DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape)
60 GEOMAlgo_PassKeyShape myKey;
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>
79 #include <TCollection_DataMapNode.lxx>
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