Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/smesh.git] / src / SMDS / SMDS_MeshObject.hxx
1 // File generated by CPPExt (Transient)
2 //
3 //                     Copyright (C) 1991,1995 by
4 //  
5 //                      MATRA DATAVISION, FRANCE
6 //  
7 // This software is furnished in accordance with the terms and conditions
8 // of the contract and with the inclusion of the above copyright notice.
9 // This software or any other copy thereof may not be provided or otherwise
10 // be made available to any other person. No title to an ownership of the
11 // software is hereby transferred.
12 //  
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
15 //
16 #ifndef _SMDS_MeshObject_HeaderFile
17 #define _SMDS_MeshObject_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMDS_MeshObject_HeaderFile
23 #include "Handle_SMDS_MeshObject.hxx"
24 #endif
25
26 #ifndef _MMgt_TShared_HeaderFile
27 #include <MMgt_TShared.hxx>
28 #endif
29
30
31 class SMDS_MeshObject : public MMgt_TShared {
32
33 public:
34
35     inline void* operator new(size_t,void* anAddress) 
36       {
37         return anAddress;
38       }
39     inline void* operator new(size_t size) 
40       { 
41         return Standard::Allocate(size); 
42       }
43     inline void  operator delete(void *anAddress) 
44       { 
45         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
46       }
47 //    inline void  operator delete(void *anAddress, size_t size) 
48 //      { 
49 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
50 //      }
51  // Methods PUBLIC
52  // 
53 Standard_EXPORT ~SMDS_MeshObject();
54
55
56
57
58  // Type management
59  //
60  Standard_EXPORT friend Handle_Standard_Type& SMDS_MeshObject_Type_();
61  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
62  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
63
64 protected:
65
66  // Methods PROTECTED
67  // 
68
69
70  // Fields PROTECTED
71  //
72
73
74 private: 
75
76  // Methods PRIVATE
77  // 
78
79
80  // Fields PRIVATE
81  //
82
83
84 };
85
86
87
88
89
90 // other inline functions and methods (like "C++: function call" methods)
91 //
92
93
94 #endif