]> SALOME platform Git repositories - modules/kernel.git/blob - src/SALOMEDS/SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx
Salome HOME
NRI : Remove dependence with VISU.
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx
1 //  File      : SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx
2 //  Created   : Tue Aug 13 14:05:03 2002
3 //  Author    : Yves FRICAUD
4
5 //  Project   : SALOME
6 //  Module    : SALOMEDS
7 //  Copyright : Open CASCADE 2002
8 //  $Header: 
9
10 #ifndef _SALOMEDS_DataMapIteratorOfDataMapStringLabel_HeaderFile
11 #define _SALOMEDS_DataMapIteratorOfDataMapStringLabel_HeaderFile
12
13 #ifndef _TCollection_BasicMapIterator_HeaderFile
14 #include <TCollection_BasicMapIterator.hxx>
15 #endif
16 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel_HeaderFile
17 #include <Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx>
18 #endif
19 class Standard_NoSuchObject;
20 class TCollection_ExtendedString;
21 class TDF_Label;
22 class SALOMEDS_DataMapStringLabel;
23 class SALOMEDS_DataMapNodeOfDataMapStringLabel;
24
25
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
28 #endif
29 #ifndef _Standard_Macro_HeaderFile
30 #include <Standard_Macro.hxx>
31 #endif
32
33 class SALOMEDS_DataMapIteratorOfDataMapStringLabel  : public TCollection_BasicMapIterator {
34
35 public:
36
37     inline void* operator new(size_t,void* anAddress) 
38       {
39         return anAddress;
40       }
41     inline void* operator new(size_t size) 
42       { 
43         return Standard::Allocate(size); 
44       }
45     inline void  operator delete(void *anAddress) 
46       { 
47         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
48       }
49 //    inline void  operator delete(void *anAddress, size_t size) 
50 //      { 
51 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
52 //      }
53  // Methods PUBLIC
54  // 
55 Standard_EXPORT SALOMEDS_DataMapIteratorOfDataMapStringLabel();
56 Standard_EXPORT SALOMEDS_DataMapIteratorOfDataMapStringLabel(const SALOMEDS_DataMapStringLabel& aMap);
57 Standard_EXPORT   void Initialize(const SALOMEDS_DataMapStringLabel& aMap) ;
58 Standard_EXPORT  const TCollection_ExtendedString& Key() const;
59 Standard_EXPORT  const TDF_Label& 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