Salome HOME
Copyrights update
[modules/geom.git] / src / GEOM / GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/
19 //
20
21 #ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
22 #define _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
23
24 #ifndef _TCollection_BasicMapIterator_HeaderFile
25 #include <TCollection_BasicMapIterator.hxx>
26 #endif
27 #ifndef _Handle_Standard_Transient_HeaderFile
28 #include <Handle_Standard_Transient.hxx>
29 #endif
30 #ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
31 #include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
32 #endif
33 class Standard_NoSuchObject;
34 class TCollection_AsciiString;
35 class Standard_Transient;
36 class GEOM_DataMapOfAsciiStringTransient;
37 class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient;
38
39
40 #ifndef _Standard_HeaderFile
41 #include <Standard.hxx>
42 #endif
43 #ifndef _Standard_Macro_HeaderFile
44 #include <Standard_Macro.hxx>
45 #endif
46
47 class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient  : public TCollection_BasicMapIterator {
48
49 public:
50
51     void* operator new(size_t,void* anAddress) 
52       {
53         return anAddress;
54       }
55     void* operator new(size_t size) 
56       { 
57         return Standard::Allocate(size); 
58       }
59     void  operator delete(void *anAddress) 
60       { 
61         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
62       }
63  // Methods PUBLIC
64  // 
65 Standard_EXPORT GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient();
66 Standard_EXPORT GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient(const GEOM_DataMapOfAsciiStringTransient& aMap);
67 Standard_EXPORT   void Initialize(const GEOM_DataMapOfAsciiStringTransient& aMap) ;
68 Standard_EXPORT  const TCollection_AsciiString& Key() const;
69 Standard_EXPORT  const Handle_Standard_Transient& Value() const;
70
71
72
73
74
75 protected:
76
77  // Methods PROTECTED
78  // 
79
80
81  // Fields PROTECTED
82  //
83
84
85 private: 
86
87  // Methods PRIVATE
88  // 
89
90
91  // Fields PRIVATE
92  //
93
94
95 };
96
97
98
99
100
101 // other Inline functions and methods (like "C++: function call" methods)
102 //
103
104
105 #endif