1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #ifndef _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
22 #define _GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient_HeaderFile
24 #ifndef _TCollection_BasicMapIterator_HeaderFile
25 #include <TCollection_BasicMapIterator.hxx>
27 #ifndef _Handle_Standard_Transient_HeaderFile
28 #include <Handle_Standard_Transient.hxx>
30 #ifndef _Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient_HeaderFile
31 #include <Handle_GEOM_DataMapNodeOfDataMapOfAsciiStringTransient.hxx>
33 class Standard_NoSuchObject;
34 class TCollection_AsciiString;
35 class Standard_Transient;
36 class GEOM_DataMapOfAsciiStringTransient;
37 class GEOM_DataMapNodeOfDataMapOfAsciiStringTransient;
40 #ifndef _Standard_HeaderFile
41 #include <Standard.hxx>
43 #ifndef _Standard_Macro_HeaderFile
44 #include <Standard_Macro.hxx>
47 class GEOM_DataMapIteratorOfDataMapOfAsciiStringTransient : public TCollection_BasicMapIterator {
51 void* operator new(size_t,void* anAddress)
55 void* operator new(size_t size)
57 return Standard::Allocate(size);
59 void operator delete(void *anAddress)
61 if (anAddress) Standard::Free((Standard_Address&)anAddress);
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;
101 // other Inline functions and methods (like "C++: function call" methods)