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_DataMapNodeOfDataMapOfPntInteger_HeaderFile
17 #define _SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SMDS_DataMapNodeOfDataMapOfPntInteger_HeaderFile
23 #include "Handle_SMDS_DataMapNodeOfDataMapOfPntInteger.hxx"
26 #ifndef _gp_Pnt_HeaderFile
29 #ifndef _Standard_Integer_HeaderFile
30 #include <Standard_Integer.hxx>
32 #ifndef _TCollection_MapNode_HeaderFile
33 #include <TCollection_MapNode.hxx>
35 #ifndef _TCollection_MapNodePtr_HeaderFile
36 #include <TCollection_MapNodePtr.hxx>
40 class SMDS_DataMapOfPntInteger;
41 class SMDS_DataMapIteratorOfDataMapOfPntInteger;
44 class SMDS_DataMapNodeOfDataMapOfPntInteger : 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 SMDS_DataMapNodeOfDataMapOfPntInteger(const gp_Pnt& K,const Standard_Integer& I,const TCollection_MapNodePtr& n);
67 Standard_EXPORT inline gp_Pnt& Key() const;
68 Standard_EXPORT inline Standard_Integer& Value() const;
69 Standard_EXPORT ~SMDS_DataMapNodeOfDataMapOfPntInteger();
76 Standard_EXPORT friend Handle_Standard_Type& SMDS_DataMapNodeOfDataMapOfPntInteger_Type_();
77 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
78 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
99 Standard_Integer myValue;
104 #define TheKey gp_Pnt
105 #define TheKey_hxx <gp_Pnt.hxx>
106 #define TheItem Standard_Integer
107 #define TheItem_hxx <Standard_Integer.hxx>
108 #define Hasher SMDS_PntHasher
109 #define Hasher_hxx <SMDS_PntHasher.hxx>
110 #define TCollection_DataMapNode SMDS_DataMapNodeOfDataMapOfPntInteger
111 #define TCollection_DataMapNode_hxx <SMDS_DataMapNodeOfDataMapOfPntInteger.hxx>
112 #define TCollection_DataMapIterator SMDS_DataMapIteratorOfDataMapOfPntInteger
113 #define TCollection_DataMapIterator_hxx <SMDS_DataMapIteratorOfDataMapOfPntInteger.hxx>
114 #define Handle_TCollection_DataMapNode Handle_SMDS_DataMapNodeOfDataMapOfPntInteger
115 #define TCollection_DataMapNode_Type_() SMDS_DataMapNodeOfDataMapOfPntInteger_Type_()
116 #define TCollection_DataMap SMDS_DataMapOfPntInteger
117 #define TCollection_DataMap_hxx <SMDS_DataMapOfPntInteger.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)