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