Salome HOME
NRI : Change lGeometryClient by lGEOMClient.
[modules/smesh.git] / src / SMDS / SMDS_StdMapNodeOfExtendedMap.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 _SMDS_StdMapNodeOfExtendedMap_HeaderFile
17 #define _SMDS_StdMapNodeOfExtendedMap_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMDS_StdMapNodeOfExtendedMap_HeaderFile
23 #include "Handle_SMDS_StdMapNodeOfExtendedMap.hxx"
24 #endif
25
26 #ifndef _Handle_SMDS_MeshElement_HeaderFile
27 #include "Handle_SMDS_MeshElement.hxx"
28 #endif
29 #ifndef _TCollection_MapNode_HeaderFile
30 #include <TCollection_MapNode.hxx>
31 #endif
32 #ifndef _TCollection_MapNodePtr_HeaderFile
33 #include <TCollection_MapNodePtr.hxx>
34 #endif
35 class SMDS_MeshElement;
36 class SMDS_MeshElementMapHasher;
37 class SMDS_ExtendedMap;
38 class SMDS_MapIteratorOfExtendedMap;
39
40
41 class SMDS_StdMapNodeOfExtendedMap : public TCollection_MapNode {
42
43 public:
44
45     inline void* operator new(size_t,void* anAddress) 
46       {
47         return anAddress;
48       }
49     inline void* operator new(size_t size) 
50       { 
51         return Standard::Allocate(size); 
52       }
53     inline void  operator delete(void *anAddress) 
54       { 
55         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
56       }
57 //    inline void  operator delete(void *anAddress, size_t size) 
58 //      { 
59 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
60 //      }
61  // Methods PUBLIC
62  // 
63 Standard_EXPORT inline SMDS_StdMapNodeOfExtendedMap(const Handle(SMDS_MeshElement)& K,const TCollection_MapNodePtr& n);
64 Standard_EXPORT inline   Handle_SMDS_MeshElement& Key() const;
65 Standard_EXPORT ~SMDS_StdMapNodeOfExtendedMap();
66
67
68
69
70  // Type management
71  //
72  Standard_EXPORT friend Handle_Standard_Type& SMDS_StdMapNodeOfExtendedMap_Type_();
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 Handle_SMDS_MeshElement myKey;
95
96
97 };
98
99 #define TheKey Handle_SMDS_MeshElement
100 #define TheKey_hxx <SMDS_MeshElement.hxx>
101 #define Hasher SMDS_MeshElementMapHasher
102 #define Hasher_hxx <SMDS_MeshElementMapHasher.hxx>
103 #define TCollection_StdMapNode SMDS_StdMapNodeOfExtendedMap
104 #define TCollection_StdMapNode_hxx <SMDS_StdMapNodeOfExtendedMap.hxx>
105 #define TCollection_MapIterator SMDS_MapIteratorOfExtendedMap
106 #define TCollection_MapIterator_hxx <SMDS_MapIteratorOfExtendedMap.hxx>
107 #define Handle_TCollection_StdMapNode Handle_SMDS_StdMapNodeOfExtendedMap
108 #define TCollection_StdMapNode_Type_() SMDS_StdMapNodeOfExtendedMap_Type_()
109 #define TCollection_Map SMDS_ExtendedMap
110 #define TCollection_Map_hxx <SMDS_ExtendedMap.hxx>
111
112 #include <TCollection_StdMapNode.lxx>
113
114 #undef TheKey
115 #undef TheKey_hxx
116 #undef Hasher
117 #undef Hasher_hxx
118 #undef TCollection_StdMapNode
119 #undef TCollection_StdMapNode_hxx
120 #undef TCollection_MapIterator
121 #undef TCollection_MapIterator_hxx
122 #undef Handle_TCollection_StdMapNode
123 #undef TCollection_StdMapNode_Type_
124 #undef TCollection_Map
125 #undef TCollection_Map_hxx
126
127
128 // other inline functions and methods (like "C++: function call" methods)
129 //
130
131
132 #endif