Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/geom.git] / src / NMTTools / NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #ifndef _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
17 #define _NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_HeaderFile
23 #include <Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
24 #endif
25
26 #ifndef _TopoDS_Shape_HeaderFile
27 #include <TopoDS_Shape.hxx>
28 #endif
29 #ifndef _Standard_Integer_HeaderFile
30 #include <Standard_Integer.hxx>
31 #endif
32 #ifndef _BOPTools_PaveBlock_HeaderFile
33 #include <BOPTools_PaveBlock.hxx>
34 #endif
35 #ifndef _TCollection_MapNodePtr_HeaderFile
36 #include <TCollection_MapNodePtr.hxx>
37 #endif
38 #ifndef _TCollection_MapNode_HeaderFile
39 #include <TCollection_MapNode.hxx>
40 #endif
41 class TopoDS_Shape;
42 class BOPTools_PaveBlock;
43 class TopTools_ShapeMapHasher;
44 class NMTTools_IndexedDataMapOfShapePaveBlock;
45
46
47 class NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock : public TCollection_MapNode {
48
49 public:
50
51     void* operator new(size_t,void* anAddress) 
52       {
53         return anAddress;
54       }
55     void* operator new(size_t size) 
56       { 
57         return Standard::Allocate(size); 
58       }
59     void  operator delete(void *anAddress) 
60       { 
61         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
62       }
63  // Methods PUBLIC
64  // 
65 NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock(const TopoDS_Shape& K1,const Standard_Integer K2,const BOPTools_PaveBlock& I,const TCollection_MapNodePtr& n1,const TCollection_MapNodePtr& n2);
66   TopoDS_Shape& Key1() const;
67   Standard_Integer& Key2() const;
68   TCollection_MapNodePtr& Next2() const;
69   BOPTools_PaveBlock& Value() const;
70 Standard_EXPORT ~NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock();
71
72
73
74
75  // Type management
76  //
77  Standard_EXPORT friend Handle_Standard_Type& NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_Type_();
78  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
79  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
80
81 protected:
82
83  // Methods PROTECTED
84  // 
85
86
87  // Fields PROTECTED
88  //
89
90
91 private: 
92
93  // Methods PRIVATE
94  // 
95
96
97  // Fields PRIVATE
98  //
99 TopoDS_Shape myKey1;
100 Standard_Integer myKey2;
101 BOPTools_PaveBlock myValue;
102 TCollection_MapNodePtr myNext2;
103
104
105 };
106
107 #define TheKey TopoDS_Shape
108 #define TheKey_hxx <TopoDS_Shape.hxx>
109 #define TheItem BOPTools_PaveBlock
110 #define TheItem_hxx <BOPTools_PaveBlock.hxx>
111 #define Hasher TopTools_ShapeMapHasher
112 #define Hasher_hxx <TopTools_ShapeMapHasher.hxx>
113 #define TCollection_IndexedDataMapNode NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
114 #define TCollection_IndexedDataMapNode_hxx <NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock.hxx>
115 #define Handle_TCollection_IndexedDataMapNode Handle_NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock
116 #define TCollection_IndexedDataMapNode_Type_() NMTTools_IndexedDataMapNodeOfIndexedDataMapOfShapePaveBlock_Type_()
117 #define TCollection_IndexedDataMap NMTTools_IndexedDataMapOfShapePaveBlock
118 #define TCollection_IndexedDataMap_hxx <NMTTools_IndexedDataMapOfShapePaveBlock.hxx>
119
120 #include <TCollection_IndexedDataMapNode.lxx>
121
122 #undef TheKey
123 #undef TheKey_hxx
124 #undef TheItem
125 #undef TheItem_hxx
126 #undef Hasher
127 #undef Hasher_hxx
128 #undef TCollection_IndexedDataMapNode
129 #undef TCollection_IndexedDataMapNode_hxx
130 #undef Handle_TCollection_IndexedDataMapNode
131 #undef TCollection_IndexedDataMapNode_Type_
132 #undef TCollection_IndexedDataMap
133 #undef TCollection_IndexedDataMap_hxx
134
135
136 // other Inline functions and methods (like "C++: function call" methods)
137 //
138
139
140 #endif