Salome HOME
Optimization of GetShapesOn<xxx> functionality
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.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_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
24 #define _GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
25
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
28 #endif
29 #ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_HeaderFile
30 #include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
31 #endif
32
33 #ifndef _GEOMAlgo_PassKey_HeaderFile
34 #include <GEOMAlgo_PassKey.hxx>
35 #endif
36 #ifndef _Standard_Integer_HeaderFile
37 #include <Standard_Integer.hxx>
38 #endif
39 #ifndef _TCollection_MapNode_HeaderFile
40 #include <TCollection_MapNode.hxx>
41 #endif
42 #ifndef _TCollection_MapNodePtr_HeaderFile
43 #include <TCollection_MapNodePtr.hxx>
44 #endif
45 class GEOMAlgo_PassKey;
46 class GEOMAlgo_PassKeyMapHasher;
47 class GEOMAlgo_DataMapOfPassKeyInteger;
48 class GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger;
49
50
51 class GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger : public TCollection_MapNode {
52
53 public:
54
55     void* operator new(size_t,void* anAddress) 
56       {
57         return anAddress;
58       }
59     void* operator new(size_t size) 
60       { 
61         return Standard::Allocate(size); 
62       }
63     void  operator delete(void *anAddress) 
64       { 
65         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
66       }
67  // Methods PUBLIC
68  // 
69 GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger(const GEOMAlgo_PassKey& K,const Standard_Integer& I,const TCollection_MapNodePtr& n);
70   GEOMAlgo_PassKey& Key() const;
71   Standard_Integer& Value() const;
72 Standard_EXPORT ~GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger();
73
74
75
76
77  // Type management
78  //
79  Standard_EXPORT friend Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_();
80  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
81  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
82
83 protected:
84
85  // Methods PROTECTED
86  // 
87
88
89  // Fields PROTECTED
90  //
91
92
93 private: 
94
95  // Methods PRIVATE
96  // 
97
98
99  // Fields PRIVATE
100  //
101 GEOMAlgo_PassKey myKey;
102 Standard_Integer myValue;
103
104
105 };
106
107 #define TheKey GEOMAlgo_PassKey
108 #define TheKey_hxx <GEOMAlgo_PassKey.hxx>
109 #define TheItem Standard_Integer
110 #define TheItem_hxx <Standard_Integer.hxx>
111 #define Hasher GEOMAlgo_PassKeyMapHasher
112 #define Hasher_hxx <GEOMAlgo_PassKeyMapHasher.hxx>
113 #define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
114 #define TCollection_DataMapNode_hxx <GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger.hxx>
115 #define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger
116 #define TCollection_DataMapIterator_hxx <GEOMAlgo_DataMapIteratorOfDataMapOfPassKeyInteger.hxx>
117 #define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger
118 #define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfPassKeyInteger_Type_()
119 #define TCollection_DataMap GEOMAlgo_DataMapOfPassKeyInteger
120 #define TCollection_DataMap_hxx <GEOMAlgo_DataMapOfPassKeyInteger.hxx>
121
122 #include <TCollection_DataMapNode.lxx>
123
124 #undef TheKey
125 #undef TheKey_hxx
126 #undef TheItem
127 #undef TheItem_hxx
128 #undef Hasher
129 #undef Hasher_hxx
130 #undef TCollection_DataMapNode
131 #undef TCollection_DataMapNode_hxx
132 #undef TCollection_DataMapIterator
133 #undef TCollection_DataMapIterator_hxx
134 #undef Handle_TCollection_DataMapNode
135 #undef TCollection_DataMapNode_Type_
136 #undef TCollection_DataMap
137 #undef TCollection_DataMap_hxx
138
139
140 // other Inline functions and methods (like "C++: function call" methods)
141 //
142
143
144 #endif