Salome HOME
Join modifications from branch BR_DEBUG_3_2_0b1
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_WireSolid.hxx
1 // Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
3 // 
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either 
7 // version 2.1 of the License.
8 // 
9 // This library is distributed in the hope that it will be useful 
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
12 // Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public  
15 // License along with this library; if not, write to the Free Software 
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 //
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19
20 #ifndef _GEOMAlgo_WireSolid_HeaderFile
21 #define _GEOMAlgo_WireSolid_HeaderFile
22
23 #ifndef _GEOMAlgo_ShapeSolid_HeaderFile
24 #include <GEOMAlgo_ShapeSolid.hxx>
25 #endif
26
27
28 #ifndef _Standard_HeaderFile
29 #include <Standard.hxx>
30 #endif
31 #ifndef _Standard_Macro_HeaderFile
32 #include <Standard_Macro.hxx>
33 #endif
34
35 class GEOMAlgo_WireSolid  : public GEOMAlgo_ShapeSolid {
36
37 public:
38
39     void* operator new(size_t,void* anAddress) 
40       {
41         return anAddress;
42       }
43     void* operator new(size_t size) 
44       { 
45         return Standard::Allocate(size); 
46       }
47     void  operator delete(void *anAddress) 
48       { 
49         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
50       }
51  // Methods PUBLIC
52  // 
53 Standard_EXPORT GEOMAlgo_WireSolid();
54 Standard_EXPORT virtual ~GEOMAlgo_WireSolid();
55 Standard_EXPORT virtual  void Perform() ;
56
57
58
59
60
61 protected:
62
63  // Methods PROTECTED
64  // 
65 Standard_EXPORT virtual  void Prepare() ;
66 Standard_EXPORT virtual  void BuildResult() ;
67
68
69  // Fields PROTECTED
70  //
71
72
73 private: 
74
75  // Methods PRIVATE
76  // 
77
78
79  // Fields PRIVATE
80  //
81
82
83 };
84
85
86
87
88
89 // other Inline functions and methods (like "C++: function call" methods)
90 //
91
92
93 #endif