Salome HOME
This commit was generated by cvs2git to create branch 'IMPORT'.
[modules/smesh.git] / src / SMDS / SMDSControl_MeshBoundary.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 _SMDSControl_MeshBoundary_HeaderFile
17 #define _SMDSControl_MeshBoundary_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMDSControl_MeshBoundary_HeaderFile
23 #include "Handle_SMDSControl_MeshBoundary.hxx"
24 #endif
25
26 #ifndef _Handle_SMDS_Mesh_HeaderFile
27 #include "Handle_SMDS_Mesh.hxx"
28 #endif
29 #ifndef _MMgt_TShared_HeaderFile
30 #include <MMgt_TShared.hxx>
31 #endif
32 class SMDS_Mesh;
33
34
35 class SMDSControl_MeshBoundary : public MMgt_TShared {
36
37 public:
38
39     inline void* operator new(size_t,void* anAddress) 
40       {
41         return anAddress;
42       }
43     inline void* operator new(size_t size) 
44       { 
45         return Standard::Allocate(size); 
46       }
47     inline void  operator delete(void *anAddress) 
48       { 
49         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
50       }
51 //    inline void  operator delete(void *anAddress, size_t size) 
52 //      { 
53 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
54 //      }
55  // Methods PUBLIC
56  // 
57 Standard_EXPORT virtual  void Compute()  = 0;
58 Standard_EXPORT   Handle_SMDS_Mesh ResultMesh() ;
59 Standard_EXPORT ~SMDSControl_MeshBoundary();
60
61
62
63
64  // Type management
65  //
66  Standard_EXPORT friend Handle_Standard_Type& SMDSControl_MeshBoundary_Type_();
67  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
68  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
69
70 protected:
71
72  // Methods PROTECTED
73  // 
74 Standard_EXPORT SMDSControl_MeshBoundary();
75 Standard_EXPORT SMDSControl_MeshBoundary(const Handle(SMDS_Mesh)& M);
76
77
78  // Fields PROTECTED
79  //
80 Handle_SMDS_Mesh myMesh;
81 Handle_SMDS_Mesh myBoundaryMesh;
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