Salome HOME
BugID IPAL9186: Added a call to method initGeomGen
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.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_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
24 #define _GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
25
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
28 #endif
29 #ifndef _Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_HeaderFile
30 #include <Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
31 #endif
32
33 #ifndef _Standard_Integer_HeaderFile
34 #include <Standard_Integer.hxx>
35 #endif
36 #ifndef _TopoDS_Shape_HeaderFile
37 #include <TopoDS_Shape.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 TColStd_MapIntegerHasher;
47 class GEOMAlgo_IndexedDataMapOfIntegerShape;
48
49
50 class GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape : public TCollection_MapNode {
51
52 public:
53
54     void* operator new(size_t,void* anAddress) 
55       {
56         return anAddress;
57       }
58     void* operator new(size_t size) 
59       { 
60         return Standard::Allocate(size); 
61       }
62     void  operator delete(void *anAddress) 
63       { 
64         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
65       }
66  // Methods PUBLIC
67  // 
68 GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape(const Standard_Integer& K1,const Standard_Integer K2,const TopoDS_Shape& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
69   Standard_Integer& Key1() const;
70   Standard_Integer& Key2() const;
71   TCollection_MapNodePtr& Next2() const;
72   TopoDS_Shape& Value() const;
73 Standard_EXPORT ~GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape();
74
75
76
77
78  // Type management
79  //
80  Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_Type_();
81  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
82  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
83
84 protected:
85
86  // Methods PROTECTED
87  // 
88
89
90  // Fields PROTECTED
91  //
92
93
94 private: 
95
96  // Methods PRIVATE
97  // 
98
99
100  // Fields PRIVATE
101  //
102 Standard_Integer myKey1;
103 Standard_Integer myKey2;
104 TopoDS_Shape myValue;
105 TCollection_MapNodePtr myNext2;
106
107
108 };
109
110 #define TheKey Standard_Integer
111 #define TheKey_hxx <Standard_Integer.hxx>
112 #define TheItem TopoDS_Shape
113 #define TheItem_hxx <TopoDS_Shape.hxx>
114 #define Hasher TColStd_MapIntegerHasher
115 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
116 #define TCollection_IndexedDataMapNode GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
117 #define TCollection_IndexedDataMapNode_hxx <GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape.hxx>
118 #define Handle_TCollection_IndexedDataMapNode Handle_GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape
119 #define TCollection_IndexedDataMapNode_Type_() GEOMAlgo_IndexedDataMapNodeOfIndexedDataMapOfIntegerShape_Type_()
120 #define TCollection_IndexedDataMap GEOMAlgo_IndexedDataMapOfIntegerShape
121 #define TCollection_IndexedDataMap_hxx <GEOMAlgo_IndexedDataMapOfIntegerShape.hxx>
122
123 #include <TCollection_IndexedDataMapNode.lxx>
124
125 #undef TheKey
126 #undef TheKey_hxx
127 #undef TheItem
128 #undef TheItem_hxx
129 #undef Hasher
130 #undef Hasher_hxx
131 #undef TCollection_IndexedDataMapNode
132 #undef TCollection_IndexedDataMapNode_hxx
133 #undef Handle_TCollection_IndexedDataMapNode
134 #undef TCollection_IndexedDataMapNode_Type_
135 #undef TCollection_IndexedDataMap
136 #undef TCollection_IndexedDataMap_hxx
137
138
139 // other Inline functions and methods (like "C++: function call" methods)
140 //
141
142
143 #endif