1 // File : SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx
2 // Created : Mon Apr 7 10:13:30 2003
3 // Author : Sergey Ruin
6 // Copyright : Open CASCADE
8 #ifndef _SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
9 #define _SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
11 #ifndef _Standard_HeaderFile
12 #include <Standard.hxx>
14 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
15 #include <Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
18 #ifndef _Standard_Real_HeaderFile
19 #include <Standard_Real.hxx>
21 #ifndef _TCollection_ExtendedString_HeaderFile
22 #include <TCollection_ExtendedString.hxx>
24 #ifndef _TCollection_MapNode_HeaderFile
25 #include <TCollection_MapNode.hxx>
27 #ifndef _TCollection_MapNodePtr_HeaderFile
28 #include <TCollection_MapNodePtr.hxx>
30 class TCollection_ExtendedString;
31 class TColStd_MapIntegerHasher;
32 class SALOMEDS_DataMapOfIntegerString;
33 class SALOMEDS_DataMapIteratorOfDataMapOfIntegerString;
36 class SALOMEDS_DataMapNodeOfDataMapOfIntegerString : public TCollection_MapNode {
40 void* operator new(size_t,void* anAddress)
44 void* operator new(size_t size)
46 return Standard::Allocate(size);
48 void operator delete(void *anAddress)
50 if (anAddress) Standard::Free((Standard_Address&)anAddress);
54 SALOMEDS_DataMapNodeOfDataMapOfIntegerString(const Standard_Real& K,const TCollection_ExtendedString& I,const TCollection_MapNodePtr& n);
55 Standard_Real& Key() const;
56 TCollection_ExtendedString& Value() const;
57 Standard_EXPORT ~SALOMEDS_DataMapNodeOfDataMapOfIntegerString();
64 Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_DataMapNodeOfDataMapOfIntegerString_Type_();
65 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
66 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
87 TCollection_ExtendedString myValue;
92 #define TheKey Standard_Real
93 #define TheKey_hxx <Standard_Real.hxx>
94 #define TheItem TCollection_ExtendedString
95 #define TheItem_hxx <TCollection_ExtendedString.hxx>
96 #define Hasher TColStd_MapIntegerHasher
97 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
98 #define TCollection_DataMapNode SALOMEDS_DataMapNodeOfDataMapOfIntegerString
99 #define TCollection_DataMapNode_hxx <SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
100 #define TCollection_DataMapIterator SALOMEDS_DataMapIteratorOfDataMapOfIntegerString
101 #define TCollection_DataMapIterator_hxx <SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx>
102 #define Handle_TCollection_DataMapNode Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString
103 #define TCollection_DataMapNode_Type_() SALOMEDS_DataMapNodeOfDataMapOfIntegerString_Type_()
104 #define TCollection_DataMap SALOMEDS_DataMapOfIntegerString
105 #define TCollection_DataMap_hxx <SALOMEDS_DataMapOfIntegerString.hxx>
107 #include <TCollection_DataMapNode.lxx>
115 #undef TCollection_DataMapNode
116 #undef TCollection_DataMapNode_hxx
117 #undef TCollection_DataMapIterator
118 #undef TCollection_DataMapIterator_hxx
119 #undef Handle_TCollection_DataMapNode
120 #undef TCollection_DataMapNode_Type_
121 #undef TCollection_DataMap
122 #undef TCollection_DataMap_hxx
125 // other Inline functions and methods (like "C++: function call" methods)