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
20 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
21 #define _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
26 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_HeaderFile
27 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx>
30 #ifndef _GEOMAlgo_PassKeyShape_HeaderFile
31 #include <GEOMAlgo_PassKeyShape.hxx>
33 #ifndef _TopoDS_Shape_HeaderFile
34 #include <TopoDS_Shape.hxx>
36 #ifndef _TCollection_MapNode_HeaderFile
37 #include <TCollection_MapNode.hxx>
39 #ifndef _TCollection_MapNodePtr_HeaderFile
40 #include <TCollection_MapNodePtr.hxx>
42 class GEOMAlgo_PassKeyShape;
44 class GEOMAlgo_PassKeyShapeMapHasher;
45 class GEOMAlgo_DataMapOfPassKeyShapeShape;
46 class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape;
50 class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape : public TCollection_MapNode {
56 GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape(const GEOMAlgo_PassKeyShape& K,const TopoDS_Shape& I,const TCollection_MapNodePtr& n);
58 GEOMAlgo_PassKeyShape& Key() const;
60 TopoDS_Shape& Value() const;
61 //Standard_EXPORT ~GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape();
68 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
69 //Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
89 GEOMAlgo_PassKeyShape myKey;
95 #define TheKey GEOMAlgo_PassKeyShape
96 #define TheKey_hxx <GEOMAlgo_PassKeyShape.hxx>
97 #define TheItem TopoDS_Shape
98 #define TheItem_hxx <TopoDS_Shape.hxx>
99 #define Hasher GEOMAlgo_PassKeyShapeMapHasher
100 #define Hasher_hxx <GEOMAlgo_PassKeyShapeMapHasher.hxx>
101 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
102 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape.hxx>
103 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape
104 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyShapeShape.hxx>
105 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape
106 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyShapeShape_Type_()
107 #define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyShapeShape
108 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyShapeShape.hxx>
110 #include <TCollection_DataMapNode.lxx>
118 #undef TCollection_DataMapNode
119 #undef TCollection_DataMapNode_hxx
120 #undef TCollection_DataMapIterator
121 #undef TCollection_DataMapIterator_hxx
122 #undef Handle_TCollection_DataMapNode
123 #undef TCollection_DataMapNode_Type_
124 #undef TCollection_DataMap
125 #undef TCollection_DataMap_hxx
128 // other Inline functions and methods (like "C++: function call" methods)