Salome HOME
Porting to 64bit platform
[modules/geom.git] / src / NMTTools / NMTTools_CoupleOfShape.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 _NMTTools_CoupleOfShape_HeaderFile
16 #define _NMTTools_CoupleOfShape_HeaderFile
17
18 #ifndef _TopoDS_Shape_HeaderFile
19 #include <TopoDS_Shape.hxx>
20 #endif
21 class TopoDS_Shape;
22
23
24 #ifndef _Standard_HeaderFile
25 #include <Standard.hxx>
26 #endif
27 #ifndef _Standard_Macro_HeaderFile
28 #include <Standard_Macro.hxx>
29 #endif
30
31 class NMTTools_CoupleOfShape  {
32
33 public:
34
35     void* operator new(size_t,void* anAddress) 
36       {
37         return anAddress;
38       }
39     void* operator new(size_t size) 
40       { 
41         return Standard::Allocate(size); 
42       }
43     void  operator delete(void *anAddress) 
44       { 
45         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
46       }
47  // Methods PUBLIC
48  // 
49 Standard_EXPORT NMTTools_CoupleOfShape();
50 Standard_EXPORT   void SetShape1(const TopoDS_Shape& aS) ;
51 Standard_EXPORT   void SetShape2(const TopoDS_Shape& aS) ;
52 Standard_EXPORT  const TopoDS_Shape& Shape1() const;
53 Standard_EXPORT  const TopoDS_Shape& Shape2() const;
54
55
56
57
58
59 protected:
60
61  // Methods PROTECTED
62  // 
63
64
65  // Fields PROTECTED
66  //
67 TopoDS_Shape myShape1;
68 TopoDS_Shape myShape2;
69
70
71 private: 
72
73  // Methods PRIVATE
74  // 
75
76
77  // Fields PRIVATE
78  //
79
80
81 };
82
83
84
85
86
87 // other Inline functions and methods (like "C++: function call" methods)
88 //
89
90
91 #endif