]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.hxx
Salome HOME
GDD: Check that the PipeTShape is a block if it is required by user
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.hxx
1 //  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
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.
7 //
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.
12 //
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
16 //
17 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef _GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
21 #define _GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
22
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
25 #endif
26 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape_HeaderFile
27 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape.hxx>
28 #endif
29
30 #ifndef _TopoDS_Shape_HeaderFile
31 #include <TopoDS_Shape.hxx>
32 #endif
33 #ifndef _TCollection_MapNode_HeaderFile
34 #include <TCollection_MapNode.hxx>
35 #endif
36 #ifndef _TCollection_MapNodePtr_HeaderFile
37 #include <TCollection_MapNodePtr.hxx>
38 #endif
39 class TopoDS_Shape;
40 class TopTools_OrientedShapeMapHasher;
41 class GEOMAlgo_DataMapOfOrientedShapeShape;
42 class GEOMAlgo_DataMapIteratorOfDataMapOfOrientedShapeShape;
43
44
45
46 class GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape : public TCollection_MapNode {
47
48 public:
49  // Methods PUBLIC
50  // 
51
52 GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape(const TopoDS_Shape& K,const TopoDS_Shape& I,const TCollection_MapNodePtr& n);
53
54   TopoDS_Shape& Key() const;
55
56   TopoDS_Shape& Value() const;
57 //Standard_EXPORT ~GEOMAlgo_DataMapNodeOfDataMapOfOrientedShapeShape();
58
59
60
61
62  // Type management
63  //
64  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
65  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
66
67 protected:
68
69  // Methods PROTECTED
70  // 
71
72
73  // Fields PROTECTED
74  //
75
76
77 private: 
78
79  // Methods PRIVATE
80  // 
81
82
83  // Fields PRIVATE
84  //
85 TopoDS_Shape myKey;
86 TopoDS_Shape myValue;
87
88
89 };
90
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>
105
106 #include <TCollection_DataMapNode.lxx>
107
108 #undef TheKey
109 #undef TheKey_hxx
110 #undef TheItem
111 #undef TheItem_hxx
112 #undef Hasher
113 #undef Hasher_hxx
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
122
123
124 // other Inline functions and methods (like "C++: function call" methods)
125 //
126
127
128 #endif