Salome HOME
DCQ : Merge with Ecole_ete_a6.
[modules/yacs.git] / src / SALOMEDS / SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx
1 //  SALOME SALOMEDS : data structure of SALOME and sources of Salome data server 
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : SALOMEDS_DataMapIteratorOfDataMapOfIntegerString.hxx
8 //  Author : Sergey Ruin
9 //  Module : SALOME
10
11 #ifndef _SALOMEDS_DataMapIteratorOfDataMapOfIntegerString_HeaderFile
12 #define _SALOMEDS_DataMapIteratorOfDataMapOfIntegerString_HeaderFile
13
14 #ifndef _TCollection_BasicMapIterator_HeaderFile
15 #include <TCollection_BasicMapIterator.hxx>
16 #endif
17 #ifndef _Standard_Real_HeaderFile
18 #include <Standard_Real.hxx>
19 #endif
20 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString_HeaderFile
21 #include <Handle_SALOMEDS_DataMapNodeOfDataMapOfIntegerString.hxx>
22 #endif
23 class Standard_NoSuchObject;
24 class TCollection_ExtendedString;
25 class TColStd_MapIntegerHasher;
26 class SALOMEDS_DataMapOfIntegerString;
27 class SALOMEDS_DataMapNodeOfDataMapOfIntegerString;
28
29
30 #ifndef _Standard_HeaderFile
31 #include <Standard.hxx>
32 #endif
33 #ifndef _Standard_Macro_HeaderFile
34 #include <Standard_Macro.hxx>
35 #endif
36
37 class SALOMEDS_DataMapIteratorOfDataMapOfIntegerString  : public TCollection_BasicMapIterator {
38
39 public:
40
41     void* operator new(size_t,void* anAddress) 
42       {
43         return anAddress;
44       }
45     void* operator new(size_t size) 
46       { 
47         return Standard::Allocate(size); 
48       }
49     void  operator delete(void *anAddress) 
50       { 
51         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
52       }
53  // Methods PUBLIC
54  // 
55 Standard_EXPORT SALOMEDS_DataMapIteratorOfDataMapOfIntegerString();
56 Standard_EXPORT SALOMEDS_DataMapIteratorOfDataMapOfIntegerString(const SALOMEDS_DataMapOfIntegerString& aMap);
57 Standard_EXPORT   void Initialize(const SALOMEDS_DataMapOfIntegerString& aMap) ;
58 Standard_EXPORT  const Standard_Real& Key() const;
59 Standard_EXPORT  const TCollection_ExtendedString& Value() const;
60
61
62
63
64
65 protected:
66
67  // Methods PROTECTED
68  // 
69
70
71  // Fields PROTECTED
72  //
73
74
75 private: 
76
77  // Methods PRIVATE
78  // 
79
80
81  // Fields PRIVATE
82  //
83
84
85 };
86
87
88
89
90
91 // other Inline functions and methods (like "C++: function call" methods)
92 //
93
94
95 #endif