Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 //
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
8 //
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19
20 #ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
21 #define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
22
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
25 #endif
26 #ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
27 #include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
28 #endif
29
30 #ifndef _TopoDS_Shape_HeaderFile
31 #include <TopoDS_Shape.hxx>
32 #endif
33 #ifndef _Standard_Integer_HeaderFile
34 #include <Standard_Integer.hxx>
35 #endif
36 #ifndef _TopAbs_State_HeaderFile
37 #include <TopAbs_State.hxx>
38 #endif
39 #ifndef _TCollection_MapNodePtr_HeaderFile
40 #include <TCollection_MapNodePtr.hxx>
41 #endif
42 #ifndef _TCollection_MapNode_HeaderFile
43 #include <TCollection_MapNode.hxx>
44 #endif
45 class TopoDS_Shape;
46 class TopTools_ShapeMapHasher;
47 class GEOMAlgo_IndexedDataMapOfShapeState;
48
49
50
51 class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState : public TCollection_MapNode {
52
53 public:
54  // Methods PUBLIC
55  // 
56
57 GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState(const TopoDS_Shape& K1,const Standard_Integer K2,const TopAbs_State& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
58
59   TopoDS_Shape& Key1() const;
60
61   Standard_Integer& Key2() const;
62
63   TCollection_MapNodePtr& Next2() const;
64
65   TopAbs_State& Value() const;
66 //Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState();
67
68
69
70
71  // Type management
72  //
73  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
74  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
75
76 protected:
77
78  // Methods PROTECTED
79  // 
80
81
82  // Fields PROTECTED
83  //
84
85
86 private: 
87
88  // Methods PRIVATE
89  // 
90
91
92  // Fields PRIVATE
93  //
94 TopoDS_Shape myKey1;
95 Standard_Integer myKey2;
96 TopAbs_State myValue;
97 TCollection_MapNodePtr myNext2;
98
99
100 };
101
102 #define TheKey TopoDS_Shape
103 #define TheKey_hxx <TopoDS_Shape.hxx>
104 #define TheItem TopAbs_State
105 #define TheItem_hxx <TopAbs_State.hxx>
106 #define Hasher TopTools_ShapeMapHasher
107 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
108 #define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
109 #define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
110 #define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
111 #define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_()
112 #define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeState
113 #define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
114
115 #include <TCollection_IndexedDataMapNode.lxx>
116
117 #undef TheKey
118 #undef TheKey_hxx
119 #undef TheItem
120 #undef TheItem_hxx
121 #undef Hasher
122 #undef Hasher_hxx
123 #undef TCollection_IndexedDataMapNode
124 #undef TCollection_IndexedDataMapNode_hxx
125 #undef Handle_TCollection_IndexedDataMapNode
126 #undef TCollection_IndexedDataMapNode_Type_
127 #undef TCollection_IndexedDataMap
128 #undef TCollection_IndexedDataMap_hxx
129
130
131 // other Inline functions and methods (like "C++: function call" methods)
132 //
133
134
135 #endif