1 // Copyright (C) 2007-2008 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
22 #ifndef _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
23 #define _GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
25 #ifndef _Standard_HeaderFile
26 #include <Standard.hxx>
28 #ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
29 #include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
32 #ifndef _TCollection_AsciiString_HeaderFile
33 #include <TCollection_AsciiString.hxx>
35 #ifndef _Handle_Standard_Transient_HeaderFile
36 #include <Handle_Standard_Transient.hxx>
38 #ifndef _TCollection_MapNode_HeaderFile
39 #include <TCollection_MapNode.hxx>
41 #ifndef _TCollection_MapNodePtr_HeaderFile
42 #include <TCollection_MapNodePtr.hxx>
44 class Standard_Transient;
45 class TCollection_AsciiString;
46 class GEOM_DataMapOfAsciiStringTransient;
47 class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient;
50 class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient : public TCollection_MapNode {
54 void* operator new(size_t,void* anAddress)
58 void* operator new(size_t size)
60 return Standard::Allocate(size);
62 void operator delete(void *anAddress)
64 if (anAddress) Standard::Free((Standard_Address&)anAddress);
68 GEOM_DataMapNodeOfDataMapOfAsciiStringTransient(const TCollection_AsciiString& K,const Handle(Standard_Transient)& I,const TCollection_MapNodePtr& n);
69 TCollection_AsciiString& Key() const;
70 Handle_Standard_Transient& Value() const;
71 Standard_EXPORT ~GEOM_DataMapNodeOfDataMapOfAsciiStringTransient();
78 Standard_EXPORT friend Handle_Standard_Type& GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_();
79 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
80 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
100 TCollection_AsciiString myKey;
101 Handle_Standard_Transient myValue;
106 #define TheKey TCollection_AsciiString
107 #define TheKey_hxx <TCollection_AsciiString.hxx>
108 #define TheItem Handle_Standard_Transient
109 #define TheItem_hxx <Standard_Transient.hxx>
110 #define Hasher TCollection_AsciiString
111 #define Hasher_hxx <TCollection_AsciiString.hxx>
112 #define TCollection_DataMapNode GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
113 #define TCollection_DataMapNode_hxx <GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
114 #define TCollection_DataMapIterator GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient
115 #define TCollection_DataMapIterator_hxx <GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx>
116 #define Handle_TCollection_DataMapNode Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient
117 #define TCollection_DataMapNode_Type_() GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_Type_()
118 #define TCollection_DataMap GEOM_DataMapOfAsciiStringTransient
119 #define TCollection_DataMap_hxx <GEOM_DataMapOfAsciiStringTransient.hxx>
121 #include <TCollection_DataMapNode.lxx>
129 #undef TCollection_DataMapNode
130 #undef TCollection_DataMapNode_hxx
131 #undef TCollection_DataMapIterator
132 #undef TCollection_DataMapIterator_hxx
133 #undef Handle_TCollection_DataMapNode
134 #undef TCollection_DataMapNode_Type_
135 #undef TCollection_DataMap
136 #undef TCollection_DataMap_hxx
139 // other Inline functions and methods (like "C++: function call" methods)