1 // Copyright (C) 2007-2010 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_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
21 #define _GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
26 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
27 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.hxx>
30 #ifndef _TopoDS_Shape_HeaderFile
31 #include <TopoDS_Shape.hxx>
33 #ifndef _TCollection_MapNode_HeaderFile
34 #include <TCollection_MapNode.hxx>
36 #ifndef _TCollection_MapNodePtr_HeaderFile
37 #include <TCollection_MapNodePtr.hxx>
40 class TopTools_OrientedShapeMapHasher;
41 class GEOMAlgo_DataMapOfOrientedShapeShape;
42 class GEOMAlgo_DataMapIteratorOfDataMapOfOrientedShapeShape;
46 class GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape : public TCollection_MapNode {
52 GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape(const TopoDS_Shape& K,const TopoDS_Shape& I,const TCollection_MapNodePtr& n);
54 TopoDS_Shape& Key() const;
56 TopoDS_Shape& Value() const;
57 //Standard_EXPORT ~GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape();
64 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
65 //Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
91 #define TheKey TopoDS_Shape
92 #define TheKey_hxx <TopoDS_Shape.hxx>
93 #define TheItem TopoDS_Shape
94 #define TheItem_hxx <TopoDS_Shape.hxx>
95 #define Hasher TopTools_OrientedShapeMapHasher
96 #define Hasher_hxx <TopTools_OrientedShapeMapHasher.hxx>
97 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape
98 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.hxx>
99 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfOrientedShapeShape
100 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfOrientedShapeShape.hxx>
101 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape
102 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_Type_()
103 #define TCollection_DataMap GEOMAlgo_DataMapOfOrientedShapeShape
104 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfOrientedShapeShape.hxx>
106 #include <TCollection_DataMapNode.lxx>
114 #undef TCollection_DataMapNode
115 #undef TCollection_DataMapNode_hxx
116 #undef TCollection_DataMapIterator
117 #undef TCollection_DataMapIterator_hxx
118 #undef Handle_TCollection_DataMapNode
119 #undef TCollection_DataMapNode_Type_
120 #undef TCollection_DataMap
121 #undef TCollection_DataMap_hxx
124 // other Inline functions and methods (like "C++: function call" methods)