Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
00024 #define _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
00025
00026 #ifndef _Standard_HeaderFile
00027 #include <Standard.hxx>
00028 #endif
00029 #ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
00030 #include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
00031 #endif
00032
00033 #ifndef _TCollection_AsciiString_HeaderFile
00034 #include <TCollection_AsciiString.hxx>
00035 #endif
00036 #ifndef _Handle_Standard_Transient_HeaderFile
00037 #include <Handle_Standard_Transient.hxx>
00038 #endif
00039 #ifndef _TCollection_MapNode_HeaderFile
00040 #include <TCollection_MapNode.hxx>
00041 #endif
00042 #ifndef _TCollection_MapNodePtr_HeaderFile
00043 #include <TCollection_MapNodePtr.hxx>
00044 #endif
00045 class Standard_Transient;
00046 class TCollection_AsciiString;
00047 class GEOM_DataMapOfAsciiStringTransient;
00048 class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient;
00049
00050
00051 class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient : public TCollection_MapNode {
00052
00053 public:
00054
00055 void* operator new(size_t,void* anAddress)
00056 {
00057 return anAddress;
00058 }
00059 void* operator new(size_t size)
00060 {
00061 return Standard::Allocate(size);
00062 }
00063 void operator delete(void *anAddress)
00064 {
00065 if (anAddress) Standard::Free((Standard_Address&)anAddress);
00066 }
00067
00068
00069 GEOM_DataMapNodeOfDataMapOfAsciiStringTransient(const TCollection_AsciiString& K,const Handle(Standard_Transient)& I,const TCollection_MapNodePtr& n);
00070 TCollection_AsciiString& Key() const;
00071 Handle_Standard_Transient& Value() const;
00072 Standard_EXPORT ~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient();
00073
00074
00075
00076
00077
00078
00079 Standard_EXPORT friend Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_();
00080 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
00081 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
00082
00083 protected:
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093 private:
00094
00095
00096
00097
00098
00099
00100
00101 TCollection_AsciiString myKey;
00102 Handle_Standard_Transient myValue;
00103
00104
00105 };
00106
00107 #define TheKey TCollection_AsciiString
00108 #define TheKey_hxx <TCollection_AsciiString.hxx>
00109 #define TheItem Handle_Standard_Transient
00110 #define TheItem_hxx <Standard_Transient.hxx>
00111 #define Hasher TCollection_AsciiString
00112 #define Hasher_hxx <TCollection_AsciiString.hxx>
00113 #define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
00114 #define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
00115 #define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
00116 #define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
00117 #define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
00118 #define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
00119 #define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
00120 #define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
00121
00122 #include <TCollection_DataMapNode.lxx>
00123
00124 #undef TheKey
00125 #undef TheKey_hxx
00126 #undef TheItem
00127 #undef TheItem_hxx
00128 #undef Hasher
00129 #undef Hasher_hxx
00130 #undef TCollection_DataMapNode
00131 #undef TCollection_DataMapNode_hxx
00132 #undef TCollection_DataMapIterator
00133 #undef TCollection_DataMapIterator_hxx
00134 #undef Handle_TCollection_DataMapNode
00135 #undef TCollection_DataMapNode_Type_
00136 #undef TCollection_DataMap
00137 #undef TCollection_DataMap_hxx
00138
00139
00140
00141
00142
00143
00144 #endif