Salome HOME
NRI : Change lGeometryClient by lGEOMClient.
[modules/smesh.git] / src / SMDS / SMDSControl_BoundaryEdges.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_BoundaryEdges_HeaderFile
17 #define _SMDSControl_BoundaryEdges_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SMDSControl_BoundaryEdges_HeaderFile
23 #include "Handle_SMDSControl_BoundaryEdges.hxx"
24 #endif
25
26 #ifndef _SMDS_MapOfMeshElement_HeaderFile
27 #include "SMDS_MapOfMeshElement.hxx"
28 #endif
29 #ifndef _SMDSControl_MeshBoundary_HeaderFile
30 #include "SMDSControl_MeshBoundary.hxx"
31 #endif
32 #ifndef _Handle_SMDS_Mesh_HeaderFile
33 #include "Handle_SMDS_Mesh.hxx"
34 #endif
35 class SMDS_Mesh;
36
37
38 class SMDSControl_BoundaryEdges : public SMDSControl_MeshBoundary {
39
40 public:
41
42     inline void* operator new(size_t,void* anAddress) 
43       {
44         return anAddress;
45       }
46     inline void* operator new(size_t size) 
47       { 
48         return Standard::Allocate(size); 
49       }
50     inline void  operator delete(void *anAddress) 
51       { 
52         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
53       }
54 //    inline void  operator delete(void *anAddress, size_t size) 
55 //      { 
56 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
57 //      }
58  // Methods PUBLIC
59  // 
60 Standard_EXPORT SMDSControl_BoundaryEdges(const Handle(SMDS_Mesh)& M);
61 Standard_EXPORT virtual  void Compute() ;
62 Standard_EXPORT ~SMDSControl_BoundaryEdges();
63
64
65
66
67  // Type management
68  //
69  Standard_EXPORT friend Handle_Standard_Type& SMDSControl_BoundaryEdges_Type_();
70  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
71  Standard_EXPORT Standard_Boolean              IsKind(const Handle(Standard_Type)&) const;
72
73 protected:
74
75  // Methods PROTECTED
76  // 
77
78
79  // Fields PROTECTED
80  //
81
82
83 private: 
84
85  // Methods PRIVATE
86  // 
87
88
89  // Fields PRIVATE
90  //
91 SMDS_MapOfMeshElement myBoundaryEdges;
92
93
94 };
95
96
97
98
99
100 // other inline functions and methods (like "C++: function call" methods)
101 //
102
103
104 #endif