Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMESHDS / SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh.hxx
1 // File generated by CPPExt (Value)
2 //                     Copyright (C) 1991,1995 by
3 //  
4 //                      MATRA DATAVISION, FRANCE
5 //  
6 // This software is furnished in accordance with the terms and conditions
7 // of the contract and with the inclusion of the above copyright notice.
8 // This software or any other copy thereof may not be provided or otherwise
9 // be made available to any other person. No title to an ownership of the
10 // software is hereby transferred.
11 //  
12 // At the termination of the contract, the software and all copies of this
13 // software must be deleted.
14
15 #ifndef _SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh_HeaderFile
16 #define _SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh_HeaderFile
17
18 #ifndef _TCollection_BasicMapIterator_HeaderFile
19 #include <TCollection_BasicMapIterator.hxx>
20 #endif
21 #ifndef _Handle_SMESHDS_SubMesh_HeaderFile
22 #include "Handle_SMESHDS_SubMesh.hxx"
23 #endif
24 #ifndef _Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh_HeaderFile
25 #include "Handle_SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh.hxx"
26 #endif
27 class Standard_NoSuchObject;
28 class TopoDS_Shape;
29 class SMESHDS_SubMesh;
30 class TopTools_ShapeMapHasher;
31 class SMESHDS_DataMapOfShapeSubMesh;
32 class SMESHDS_DataMapNodeOfDataMapOfShapeSubMesh;
33
34
35 #ifndef _Standard_HeaderFile
36 #include <Standard.hxx>
37 #endif
38 #ifndef _Standard_Macro_HeaderFile
39 #include <Standard_Macro.hxx>
40 #endif
41
42 class SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh  : public TCollection_BasicMapIterator {
43
44 public:
45
46     inline void* operator new(size_t,void* anAddress) 
47       {
48         return anAddress;
49       }
50     inline void* operator new(size_t size) 
51       { 
52         return Standard::Allocate(size); 
53       }
54     inline void  operator delete(void *anAddress) 
55       { 
56         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
57       }
58 //    inline void  operator delete(void *anAddress, size_t size) 
59 //      { 
60 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
61 //      }
62  // Methods PUBLIC
63  // 
64 Standard_EXPORT SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh();
65 Standard_EXPORT SMESHDS_DataMapIteratorOfDataMapOfShapeSubMesh(const SMESHDS_DataMapOfShapeSubMesh& aMap);
66 Standard_EXPORT   void Initialize(const SMESHDS_DataMapOfShapeSubMesh& aMap) ;
67 Standard_EXPORT  const TopoDS_Shape& Key() const;
68 Standard_EXPORT  const Handle_SMESHDS_SubMesh& Value() const;
69
70
71
72
73
74 protected:
75
76  // Methods PROTECTED
77  // 
78
79
80  // Fields PROTECTED
81  //
82
83
84 private: 
85
86  // Methods PRIVATE
87  // 
88
89
90  // Fields PRIVATE
91  //
92
93
94 };
95
96
97
98
99
100 // other inline functions and methods (like "C++: function call" methods)
101 //
102
103
104 #endif