]> SALOME platform Git repositories - modules/geom.git/blob - src/GEOMAlgo/GEOMAlgo_PassKeyShape.hxx
Salome HOME
9bb52df0095424b7d296558a6a3f4739473d7847
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_PassKeyShape.hxx
1 // File generated by CPPExt (Value)
2 //
3 //                     Copyright (C) 1991 - 2000 by  
4 //                      Matra Datavision SA.  All rights reserved.
5 //  
6 //                     Copyright (C) 2001 - 2004 by
7 //                     Open CASCADE SA.  All rights reserved.
8 // 
9 // This file is part of the Open CASCADE Technology software.
10 //
11 // This software may be distributed and/or modified under the terms and
12 // conditions of the Open CASCADE Public License as defined by Open CASCADE SA
13 // and appearing in the file LICENSE included in the packaging of this file.
14 //  
15 // This software is distributed on an "AS IS" basis, without warranty of any
16 // kind, and Open CASCADE SA hereby disclaims all such warranties,
17 // including without limitation, any warranties of merchantability, fitness
18 // for a particular purpose or non-infringement. Please see the License for
19 // the specific terms and conditions governing rights and limitations under the
20 // License.
21
22 #ifndef _GEOMAlgo_PassKeyShape_HeaderFile
23 #define _GEOMAlgo_PassKeyShape_HeaderFile
24
25 #ifndef _Standard_Integer_HeaderFile
26 #include <Standard_Integer.hxx>
27 #endif
28 #ifndef _GEOMAlgo_PassKey_HeaderFile
29 #include <GEOMAlgo_PassKey.hxx>
30 #endif
31 class TopoDS_Shape;
32 class TopTools_ListOfShape;
33
34
35 #ifndef _Standard_HeaderFile
36 #include <Standard.hxx>
37 #endif
38 #ifndef _Standard_Macro_HeaderFile
39 #include <Standard_Macro.hxx>
40 #endif
41
42 class GEOMAlgo_PassKeyShape  : public GEOMAlgo_PassKey {
43
44 public:
45
46     void* operator new(size_t,void* anAddress) 
47       {
48         return anAddress;
49       }
50     void* operator new(size_t size) 
51       { 
52         return Standard::Allocate(size); 
53       }
54     void  operator delete(void *anAddress) 
55       { 
56         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
57       }
58  // Methods PUBLIC
59  // 
60 Standard_EXPORT GEOMAlgo_PassKeyShape();
61 Standard_EXPORT   void SetIds(const TopoDS_Shape& aS) ;
62 Standard_EXPORT   void SetIds(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2) ;
63 Standard_EXPORT   void SetIds(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2,const TopoDS_Shape& aS3) ;
64 Standard_EXPORT   void SetIds(const TopoDS_Shape& aS1,const TopoDS_Shape& aS2,const TopoDS_Shape& aS3,const TopoDS_Shape& aS4) ;
65 Standard_EXPORT   void SetIds(const TopTools_ListOfShape& aLS) ;
66
67
68
69
70
71 protected:
72
73  // Methods PROTECTED
74  // 
75
76
77  // Fields PROTECTED
78  //
79 Standard_Integer myUpper;
80
81
82 private: 
83
84  // Methods PRIVATE
85  // 
86
87
88  // Fields PRIVATE
89  //
90
91
92 };
93
94
95
96
97
98 // other Inline functions and methods (like "C++: function call" methods)
99 //
100
101
102 #endif