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 _GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
17 #define _GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_HeaderFile
23 #include "Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx"
26 #ifndef _Standard_Integer_HeaderFile
27 #include <Standard_Integer.hxx>
29 #ifndef _Handle_Standard_Transient_HeaderFile
30 #include <Handle_Standard_Transient.hxx>
32 #ifndef _TCollection_MapNode_HeaderFile
33 #include <TCollection_MapNode.hxx>
35 #ifndef _TCollection_MapNodePtr_HeaderFile
36 #include <TCollection_MapNodePtr.hxx>
38 class Standard_Transient;
39 class TColStd_MapIntegerHasher;
40 class GEOMDS_DataMapOfIntegerTransient;
41 class GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient;
44 class GEOMDS_DataMapNodeOfDataMapOfIntegerTransient : public TCollection_MapNode {
48 inline void* operator new(size_t,void* anAddress)
52 inline void* operator new(size_t size)
54 return Standard::Allocate(size);
56 inline void operator delete(void *anAddress)
58 if (anAddress) Standard::Free((Standard_Address&)anAddress);
60 // inline void operator delete(void *anAddress, size_t size)
62 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
66 Standard_EXPORT inline GEOMDS_DataMapNodeOfDataMapOfIntegerTransient(const Standard_Integer& K,const Handle(Standard_Transient)& I,const TCollection_MapNodePtr& n);
67 Standard_EXPORT inline Standard_Integer& Key() const;
68 Standard_EXPORT inline Handle_Standard_Transient& Value() const;
69 Standard_EXPORT ~GEOMDS_DataMapNodeOfDataMapOfIntegerTransient();
76 Standard_EXPORT friend Handle_Standard_Type& GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_Type_();
77 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
78 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
98 Standard_Integer myKey;
99 Handle_Standard_Transient myValue;
104 #define TheKey Standard_Integer
105 #define TheKey_hxx <Standard_Integer.hxx>
106 #define TheItem Handle_Standard_Transient
107 #define TheItem_hxx <Standard_Transient.hxx>
108 #define Hasher TColStd_MapIntegerHasher
109 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
110 #define TCollection_DataMapNode GEOMDS_DataMapNodeOfDataMapOfIntegerTransient
111 #define TCollection_DataMapNode_hxx <GEOMDS_DataMapNodeOfDataMapOfIntegerTransient.hxx>
112 #define TCollection_DataMapIterator GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient
113 #define TCollection_DataMapIterator_hxx <GEOMDS_DataMapIteratorOfDataMapOfIntegerTransient.hxx>
114 #define Handle_TCollection_DataMapNode Handle_GEOMDS_DataMapNodeOfDataMapOfIntegerTransient
115 #define TCollection_DataMapNode_Type_() GEOMDS_DataMapNodeOfDataMapOfIntegerTransient_Type_()
116 #define TCollection_DataMap GEOMDS_DataMapOfIntegerTransient
117 #define TCollection_DataMap_hxx <GEOMDS_DataMapOfIntegerTransient.hxx>
119 #include <TCollection_DataMapNode.lxx>
127 #undef TCollection_DataMapNode
128 #undef TCollection_DataMapNode_hxx
129 #undef TCollection_DataMapIterator
130 #undef TCollection_DataMapIterator_hxx
131 #undef Handle_TCollection_DataMapNode
132 #undef TCollection_DataMapNode_Type_
133 #undef TCollection_DataMap
134 #undef TCollection_DataMap_hxx
137 // other inline functions and methods (like "C++: function call" methods)