Salome HOME
Change comments style in geompy.py for right processing with HappyDoc
[modules/geom.git] / src / NMTAlgo / NMTAlgo_Algo.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 _NMTAlgo_Algo_HeaderFile
16 #define _NMTAlgo_Algo_HeaderFile
17
18 #ifndef _NMTTools_PDSFiller_HeaderFile
19 #include <NMTTools_PDSFiller.hxx>
20 #endif
21 #ifndef _TopoDS_Shape_HeaderFile
22 #include <TopoDS_Shape.hxx>
23 #endif
24 #ifndef _Standard_Boolean_HeaderFile
25 #include <Standard_Boolean.hxx>
26 #endif
27 #ifndef _Standard_Integer_HeaderFile
28 #include <Standard_Integer.hxx>
29 #endif
30 class NMTTools_DSFiller;
31 class TopoDS_Shape;
32
33
34 #ifndef _Standard_HeaderFile
35 #include <Standard.hxx>
36 #endif
37 #ifndef _Standard_Macro_HeaderFile
38 #include <Standard_Macro.hxx>
39 #endif
40
41 class NMTAlgo_Algo  {
42
43 public:
44
45     void* operator new(size_t,void* anAddress) 
46       {
47         return anAddress;
48       }
49     void* operator new(size_t size) 
50       { 
51         return Standard::Allocate(size); 
52       }
53     void  operator delete(void *anAddress) 
54       { 
55         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
56       }
57  // Methods PUBLIC
58  // 
59 Standard_EXPORT   void SetFiller(const NMTTools_DSFiller& aDSF) ;
60 Standard_EXPORT  const NMTTools_DSFiller& Filler() const;
61 Standard_EXPORT virtual  void ComputeWithFiller(const NMTTools_DSFiller& aDSF) ;
62 Standard_EXPORT virtual  void Clear() ;
63 Standard_EXPORT  const TopoDS_Shape& Shape() const;
64 Standard_EXPORT   Standard_Boolean IsDone() const;
65 Standard_EXPORT   Standard_Integer ErrorStatus() const;
66
67
68
69
70
71 protected:
72
73  // Methods PROTECTED
74  // 
75 Standard_EXPORT NMTAlgo_Algo();
76 Standard_EXPORT virtual ~NMTAlgo_Algo();
77
78
79  // Fields PROTECTED
80  //
81 NMTTools_PDSFiller myDSFiller;
82 TopoDS_Shape myShape;
83 Standard_Boolean myIsDone;
84 Standard_Boolean myIsComputed;
85 Standard_Integer myErrorStatus;
86 Standard_Integer myDraw;
87
88
89 private: 
90
91  // Methods PRIVATE
92  // 
93
94
95  // Fields PRIVATE
96  //
97
98
99 };
100
101
102
103
104
105 // other Inline functions and methods (like "C++: function call" methods)
106 //
107
108
109 #endif