1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
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.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _SMDS_StdMapNodeOfExtendedMap_HeaderFile
17 #define _SMDS_StdMapNodeOfExtendedMap_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SMDS_StdMapNodeOfExtendedMap_HeaderFile
23 #include "Handle_SMDS_StdMapNodeOfExtendedMap.hxx"
26 #ifndef _Handle_SMDS_MeshElement_HeaderFile
27 #include "Handle_SMDS_MeshElement.hxx"
29 #ifndef _TCollection_MapNode_HeaderFile
30 #include <TCollection_MapNode.hxx>
32 #ifndef _TCollection_MapNodePtr_HeaderFile
33 #include <TCollection_MapNodePtr.hxx>
35 class SMDS_MeshElement;
36 class SMDS_MeshElementMapHasher;
37 class SMDS_ExtendedMap;
38 class SMDS_MapIteratorOfExtendedMap;
41 class SMDS_StdMapNodeOfExtendedMap : public TCollection_MapNode {
45 inline void* operator new(size_t,void* anAddress)
49 inline void* operator new(size_t size)
51 return Standard::Allocate(size);
53 inline void operator delete(void *anAddress)
55 if (anAddress) Standard::Free((Standard_Address&)anAddress);
57 // inline void operator delete(void *anAddress, size_t size)
59 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
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();
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;
94 Handle_SMDS_MeshElement myKey;
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>
112 #include <TCollection_StdMapNode.lxx>
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
128 // other inline functions and methods (like "C++: function call" methods)