Salome HOME
NRI : Update in order to search MODULES documentation and open active MODULE document...
[modules/kernel.git] / src / SALOMEGUI / SALOME_Filter.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 _SALOME_Filter_HeaderFile
17 #define _SALOME_Filter_HeaderFile
18
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
21 #endif
22 #ifndef _Handle_SALOME_Filter_HeaderFile
23 #include <Handle_SALOME_Filter.hxx>
24 #endif
25
26 #ifndef _MMgt_TShared_HeaderFile
27 #include <MMgt_TShared.hxx>
28 #endif
29 #ifndef _Standard_Boolean_HeaderFile
30 #include <Standard_Boolean.hxx>
31 #endif
32 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
33 #include <Handle_SALOME_InteractiveObject.hxx>
34 #endif
35
36 class SALOME_Filter : public MMgt_TShared {
37
38 public:
39
40     inline void* operator new(size_t,void* anAddress) 
41       {
42         return anAddress;
43       }
44     inline void* operator new(size_t size) 
45       { 
46         return Standard::Allocate(size); 
47       }
48     inline void  operator delete(void *anAddress) 
49       { 
50         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
51       }
52 //    inline void  operator delete(void *anAddress, size_t size) 
53 //      { 
54 //        if (anAddress) Standard::Free((Standard_Address&)anAddress,size); 
55 //      }
56  // Methods PUBLIC
57  // 
58 Standard_EXPORT virtual  Standard_Boolean IsOk(const Handle(SALOME_InteractiveObject)& anObj) const = 0;
59 Standard_EXPORT ~SALOME_Filter();
60
61
62
63
64  // Type management
65  //
66  Standard_EXPORT friend Handle_Standard_Type& SALOME_Filter_Type_();
67  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
68  Standard_EXPORT Standard_Boolean             IsKind(const Handle(Standard_Type)&) const;
69
70 protected:
71
72  // Methods PROTECTED
73  // 
74
75
76  // Fields PROTECTED
77  //
78
79
80 private: 
81
82  // Methods PRIVATE
83  // 
84
85
86  // Fields PRIVATE
87  //
88
89
90 };
91
92
93
94
95
96 // other inline functions and methods (like "C++: function call" methods)
97 //
98
99
100 #endif