1 // File : SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx
2 // Created : Tue Aug 13 14:05:03 2002
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2002
10 #ifndef _SALOMEDS_DataMapNodeOfDataMapStringLabel_HeaderFile
11 #define _SALOMEDS_DataMapNodeOfDataMapStringLabel_HeaderFile
13 #ifndef _Standard_HeaderFile
14 #include <Standard.hxx>
16 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel_HeaderFile
17 #include <Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx>
20 #ifndef _TCollection_ExtendedString_HeaderFile
21 #include <TCollection_ExtendedString.hxx>
23 #ifndef _TDF_Label_HeaderFile
24 #include <TDF_Label.hxx>
26 #ifndef _TCollection_MapNode_HeaderFile
27 #include <TCollection_MapNode.hxx>
29 #ifndef _TCollection_MapNodePtr_HeaderFile
30 #include <TCollection_MapNodePtr.hxx>
32 class TCollection_ExtendedString;
34 class SALOMEDS_DataMapStringLabel;
35 class SALOMEDS_DataMapIteratorOfDataMapStringLabel;
38 class SALOMEDS_DataMapNodeOfDataMapStringLabel : public TCollection_MapNode {
42 inline void* operator new(size_t,void* anAddress)
46 inline void* operator new(size_t size)
48 return Standard::Allocate(size);
50 inline void operator delete(void *anAddress)
52 if (anAddress) Standard::Free((Standard_Address&)anAddress);
54 // inline void operator delete(void *anAddress, size_t size)
56 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
60 Standard_EXPORT inline SALOMEDS_DataMapNodeOfDataMapStringLabel(const TCollection_ExtendedString& K,const TDF_Label& I,const TCollection_MapNodePtr& n);
61 Standard_EXPORT inline TCollection_ExtendedString& Key() const;
62 Standard_EXPORT inline TDF_Label& Value() const;
63 Standard_EXPORT ~SALOMEDS_DataMapNodeOfDataMapStringLabel();
70 Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_DataMapNodeOfDataMapStringLabel_Type_();
71 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
72 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
92 TCollection_ExtendedString myKey;
98 #define TheKey TCollection_ExtendedString
99 #define TheKey_hxx <TCollection_ExtendedString.hxx>
100 #define TheItem TDF_Label
101 #define TheItem_hxx <TDF_Label.hxx>
102 #define Hasher TCollection_ExtendedString
103 #define Hasher_hxx <TCollection_ExtendedString.hxx>
104 #define TCollection_DataMapNode SALOMEDS_DataMapNodeOfDataMapStringLabel
105 #define TCollection_DataMapNode_hxx "SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx"
106 #define TCollection_DataMapIterator SALOMEDS_DataMapIteratorOfDataMapStringLabel
107 #define TCollection_DataMapIterator_hxx "SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx"
108 #define Handle_TCollection_DataMapNode Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel
109 #define TCollection_DataMapNode_Type_() SALOMEDS_DataMapNodeOfDataMapStringLabel_Type_()
110 #define TCollection_DataMap SALOMEDS_DataMapStringLabel
111 #define TCollection_DataMap_hxx "SALOMEDS_DataMapStringLabel.hxx"
113 #include <TCollection_DataMapNode.lxx>
121 #undef TCollection_DataMapNode
122 #undef TCollection_DataMapNode_hxx
123 #undef TCollection_DataMapIterator
124 #undef TCollection_DataMapIterator_hxx
125 #undef Handle_TCollection_DataMapNode
126 #undef TCollection_DataMapNode_Type_
127 #undef TCollection_DataMap
128 #undef TCollection_DataMap_hxx
131 // other inline functions and methods (like "C++: function call" methods)