1 // SALOME SALOMEDS : data structure of SALOME and sources of Salome data server
3 // Copyright (C) 2003 CEA/DEN, EDF R&D
5 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
7 // File : SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx
8 // Author : Sergey Ruin
11 #ifndef _SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
12 #define _SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
14 #ifndef _Standard_HeaderFile
15 #include <Standard.hxx>
17 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
18 #include <Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
21 #ifndef _Standard_Real_HeaderFile
22 #include <Standard_Real.hxx>
24 #ifndef _TCollection_ExtendedString_HeaderFile
25 #include <TCollection_ExtendedString.hxx>
27 #ifndef _TCollection_MapNode_HeaderFile
28 #include <TCollection_MapNode.hxx>
30 #ifndef _TCollection_MapNodePtr_HeaderFile
31 #include <TCollection_MapNodePtr.hxx>
33 class TCollection_ExtendedString;
34 class TColStd_MapIntegerHasher;
35 class SALOMEDS_DataMapOfIntegerString;
36 class SALOMEDS_DataMapIteratorOfDataMapOfIntegerString;
39 class SALOMEDS_DataMapNodeOfDataMapOfIntegerString : public TCollection_MapNode {
43 void* operator new(size_t,void* anAddress)
47 void* operator new(size_t size)
49 return Standard::Allocate(size);
51 void operator delete(void *anAddress)
53 if (anAddress) Standard::Free((Standard_Address&)anAddress);
57 SALOMEDS_DataMapNodeOfDataMapOfIntegerString(const Standard_Real& K,const TCollection_ExtendedString& I,const TCollection_MapNodePtr& n);
58 Standard_Real& Key() const;
59 TCollection_ExtendedString& Value() const;
60 Standard_EXPORT ~SALOMEDS_DataMapNodeOfDataMapOfIntegerString();
67 Standard_EXPORT friend Handle_Standard_Type& SALOMEDS_DataMapNodeOfDataMapOfIntegerString_Type_();
68 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
69 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
90 TCollection_ExtendedString myValue;
95 #define TheKey Standard_Real
96 #define TheKey_hxx <Standard_Real.hxx>
97 #define TheItem TCollection_ExtendedString
98 #define TheItem_hxx <TCollection_ExtendedString.hxx>
99 #define Hasher TColStd_MapIntegerHasher
100 #define Hasher_hxx <TColStd_MapIntegerHasher.hxx>
101 #define TCollection_DataMapNode SALOMEDS_DataMapNodeOfDataMapOfIntegerString
102 #define TCollection_DataMapNode_hxx <SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
103 #define TCollection_DataMapIterator SALOMEDS_DataMapIteratorOfDataMapOfIntegerString
104 #define TCollection_DataMapIterator_hxx <SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx>
105 #define Handle_TCollection_DataMapNode Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString
106 #define TCollection_DataMapNode_Type_() SALOMEDS_DataMapNodeOfDataMapOfIntegerString_Type_()
107 #define TCollection_DataMap SALOMEDS_DataMapOfIntegerString
108 #define TCollection_DataMap_hxx <SALOMEDS_DataMapOfIntegerString.hxx>
110 #include <TCollection_DataMapNode.lxx>
118 #undef TCollection_DataMapNode
119 #undef TCollection_DataMapNode_hxx
120 #undef TCollection_DataMapIterator
121 #undef TCollection_DataMapIterator_hxx
122 #undef Handle_TCollection_DataMapNode
123 #undef TCollection_DataMapNode_Type_
124 #undef TCollection_DataMap
125 #undef TCollection_DataMap_hxx
128 // other Inline functions and methods (like "C++: function call" methods)