Salome HOME
PAL7508: Development of new block functionalities. Implement GetShapesOn<xxx>() funct...
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //
4 //                     Copyright (C) 1991 - 2000 by  
5 //                      Matra Datavision SA.  All rights reserved.
6 //  
7 //                     Copyright (C) 2001 - 2004 by
8 //                     Open CASCADE SA.  All rights reserved.
9 // 
10 // This file is part of the Open CASCADE Technology software.
11 //
12 // This software may be distributed and/or modified under the terms and
13 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
14 // and appearing in the file LICENSE included in the packaging of this file.
15 //  
16 // This software is distributed on an "AS IS" basis, without warranty of any
17 // kind, and Open CASCADE SA hereby disclaims all such warranties,
18 // including without limitation, any warranties of merchantability, fitness
19 // for a particular purpose or non-infringement. Please see the License for
20 // the specific terms and conditions governing rights and limitations under the
21 // License.
22
23 #ifndef _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
24 #define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
25
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
28 #endif
29 #ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_HeaderFile
30 #include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
31 #endif
32
33 #ifndef _TopoDS_Shape_HeaderFile
34 #include <TopoDS_Shape.hxx>
35 #endif
36 #ifndef _Standard_Integer_HeaderFile
37 #include <Standard_Integer.hxx>
38 #endif
39 #ifndef _TopAbs_State_HeaderFile
40 #include <TopAbs_State.hxx>
41 #endif
42 #ifndef _TCollection_MapNodePtr_HeaderFile
43 #include <TCollection_MapNodePtr.hxx>
44 #endif
45 #ifndef _TCollection_MapNode_HeaderFile
46 #include <TCollection_MapNode.hxx>
47 #endif
48 class TopoDS_Shape;
49 class TopTools_ShapeMapHasher;
50 class GEOMAlgo_IndexedDataMapOfShapeState;
51
52
53 class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState : public TCollection_MapNode {
54
55 public:
56
57     void* operator new(size_t,void* anAddress) 
58       {
59         return anAddress;
60       }
61     void* operator new(size_t size) 
62       { 
63         return Standard::Allocate(size); 
64       }
65     void  operator delete(void *anAddress) 
66       { 
67         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
68       }
69  // Methods PUBLIC
70  // 
71 GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState(const TopoDS_Shape& K1,const Standard_Integer K2,const TopAbs_State& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
72   TopoDS_Shape& Key1() const;
73   Standard_Integer& Key2() const;
74   TCollection_MapNodePtr& Next2() const;
75   TopAbs_State& Value() const;
76 Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState();
77
78
79
80
81  // Type management
82  //
83  Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_();
84  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
85  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
86
87 protected:
88
89  // Methods PROTECTED
90  // 
91
92
93  // Fields PROTECTED
94  //
95
96
97 private: 
98
99  // Methods PRIVATE
100  // 
101
102
103  // Fields PRIVATE
104  //
105 TopoDS_Shape myKey1;
106 Standard_Integer myKey2;
107 TopAbs_State myValue;
108 TCollection_MapNodePtr myNext2;
109
110
111 };
112
113 #define TheKey TopoDS_Shape
114 #define TheKey_hxx <TopoDS_Shape.hxx>
115 #define TheItem TopAbs_State
116 #define TheItem_hxx <TopAbs_State.hxx>
117 #define Hasher TopTools_ShapeMapHasher
118 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
119 #define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
120 #define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState.hxx>
121 #define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState
122 #define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfShapeState_Type_()
123 #define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfShapeState
124 #define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfShapeState.hxx>
125
126 #include <TCollection_IndexedDataMapNode.lxx>
127
128 #undef TheKey
129 #undef TheKey_hxx
130 #undef TheItem
131 #undef TheItem_hxx
132 #undef Hasher
133 #undef Hasher_hxx
134 #undef TCollection_IndexedDataMapNode
135 #undef TCollection_IndexedDataMapNode_hxx
136 #undef Handle_TCollection_IndexedDataMapNode
137 #undef TCollection_IndexedDataMapNode_Type_
138 #undef TCollection_IndexedDataMap
139 #undef TCollection_IndexedDataMap_hxx
140
141
142 // other Inline functions and methods (like "C++: function call" methods)
143 //
144
145
146 #endif