1 // File : SALOMEDS_DataMapIteratorOfDataMapStringLabel.hxx
2 // Created : Tue Aug 13 14:05:03 2002
3 // Author : Yves FRICAUD
7 // Copyright : Open CASCADE 2002
10 #ifndef _SALOMEDS_DataMapIteratorOfDataMapStringLabel_HeaderFile
11 #define _SALOMEDS_DataMapIteratorOfDataMapStringLabel_HeaderFile
13 #ifndef _TCollection_BasicMapIterator_HeaderFile
14 #include <TCollection_BasicMapIterator.hxx>
16 #ifndef _Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel_HeaderFile
17 #include <Handle_SALOMEDS_DataMapNodeOfDataMapStringLabel.hxx>
19 class Standard_NoSuchObject;
20 class TCollection_ExtendedString;
22 class SALOMEDS_DataMapStringLabel;
23 class SALOMEDS_DataMapNodeOfDataMapStringLabel;
26 #ifndef _Standard_HeaderFile
27 #include <Standard.hxx>
29 #ifndef _Standard_Macro_HeaderFile
30 #include <Standard_Macro.hxx>
33 class SALOMEDS_DataMapIteratorOfDataMapStringLabel : public TCollection_BasicMapIterator {
37 inline void* operator new(size_t,void* anAddress)
41 inline void* operator new(size_t size)
43 return Standard::Allocate(size);
45 inline void operator delete(void *anAddress)
47 if (anAddress) Standard::Free((Standard_Address&)anAddress);
49 // inline void operator delete(void *anAddress, size_t size)
51 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
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;
91 // other inline functions and methods (like "C++: function call" methods)