Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMDS / SMDS_MeshVolumesIterator.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 _SMDS_MeshVolumesIterator_HeaderFile
16 #define _SMDS_MeshVolumesIterator_HeaderFile
17
18 #ifndef _SMDS_MeshElementsIterator_HeaderFile
19 #include "SMDS_MeshElementsIterator.hxx"
20 #endif
21 #ifndef _Handle_SMDS_Mesh_HeaderFile
22 #include "Handle_SMDS_Mesh.hxx"
23 #endif
24 class Standard_NoMoreObject;
25 class Standard_NoSuchObject;
26 class SMDS_Mesh;
27
28
29 #ifndef _Standard_HeaderFile
30 #include <Standard.hxx>
31 #endif
32 #ifndef _Standard_Macro_HeaderFile
33 #include <Standard_Macro.hxx>
34 #endif
35
36 class SMDS_MeshVolumesIterator  : public SMDS_MeshElementsIterator {
37
38 public:
39
40     inline void* operator new(size_t,void* anAddress) 
41       {
42         return anAddress;
43       }
44     inline void* operator new(size_t size) 
45       { 
46         return Standard::Allocate(size); 
47       }
48     inline void  operator delete(void *anAddress) 
49       { 
50         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
51       }
52 //    inline void  operator delete(void *anAddress, size_t size) 
53 //      { 
54 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
55 //      }
56  // Methods PUBLIC
57  // 
58 Standard_EXPORT SMDS_MeshVolumesIterator();
59 Standard_EXPORT SMDS_MeshVolumesIterator(const Handle(SMDS_Mesh)& M);
60 Standard_EXPORT   void Initialize(const Handle(SMDS_Mesh)& M) ;
61
62
63
64
65
66 protected:
67
68  // Methods PROTECTED
69  // 
70
71
72  // Fields PROTECTED
73  //
74
75
76 private: 
77
78  // Methods PRIVATE
79  // 
80
81
82  // Fields PRIVATE
83  //
84
85
86 };
87
88
89
90
91
92 // other inline functions and methods (like "C++: function call" methods)
93 //
94
95
96 #endif