1 // Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 #ifndef _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
24 #define _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
29 #ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
30 #include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
33 #ifndef _TCollection_AsciiString_HeaderFile
34 #include <TCollection_AsciiString.hxx>
36 #ifndef _Handle_Standard_Transient_HeaderFile
37 #include <Handle_Standard_Transient.hxx>
39 #ifndef _TCollection_MapNode_HeaderFile
40 #include <TCollection_MapNode.hxx>
42 #ifndef _TCollection_MapNodePtr_HeaderFile
43 #include <TCollection_MapNodePtr.hxx>
45 class Standard_Transient;
46 class TCollection_AsciiString;
47 class GEOM_DataMapOfAsciiStringTransient;
48 class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient;
51 class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient : public TCollection_MapNode {
55 void* operator new(size_t,void* anAddress)
59 void* operator new(size_t size)
61 return Standard::Allocate(size);
63 void operator delete(void *anAddress)
65 if (anAddress) Standard::Free((Standard_Address&)anAddress);
69 GEOM_DataMapNodeOfDataMapOfAsciiStringTransient(const TCollection_AsciiString& K,const Handle(Standard_Transient)& I,const TCollection_MapNodePtr& n);
70 TCollection_AsciiString& Key() const;
71 Handle_Standard_Transient& Value() const;
72 Standard_EXPORT ~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient();
79 Standard_EXPORT friend Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_();
80 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
81 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
101 TCollection_AsciiString myKey;
102 Handle_Standard_Transient myValue;
107 #define TheKey TCollection_AsciiString
108 #define TheKey_hxx <TCollection_AsciiString.hxx>
109 #define TheItem Handle_Standard_Transient
110 #define TheItem_hxx <Standard_Transient.hxx>
111 #define Hasher TCollection_AsciiString
112 #define Hasher_hxx <TCollection_AsciiString.hxx>
113 #define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
114 #define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
115 #define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
116 #define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
117 #define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
118 #define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
119 #define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
120 #define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
122 #include <TCollection_DataMapNode.lxx>
130 #undef TCollection_DataMapNode
131 #undef TCollection_DataMapNode_hxx
132 #undef TCollection_DataMapIterator
133 #undef TCollection_DataMapIterator_hxx
134 #undef Handle_TCollection_DataMapNode
135 #undef TCollection_DataMapNode_Type_
136 #undef TCollection_DataMap
137 #undef TCollection_DataMap_hxx
140 // other Inline functions and methods (like "C++: function call" methods)