1 // File generated by CPPExt (Transient)
3 // Copyright (C) 1991,1995 by
5 // MATRA DATAVISION, FRANCE
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.
13 // At the termination of the contract, the software and all copies of this
14 // software must be deleted.
16 #ifndef _SALOME_NumberFilter_HeaderFile
17 #define _SALOME_NumberFilter_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SALOME_NumberFilter_HeaderFile
23 #include <Handle_SALOME_NumberFilter.hxx>
26 #ifndef _Standard_CString_HeaderFile
27 #include <Standard_CString.hxx>
29 #ifndef _SALOME_Filter_HeaderFile
30 #include "SALOME_Filter.hxx"
32 #ifndef _Standard_Boolean_HeaderFile
33 #include <Standard_Boolean.hxx>
35 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
36 #include <Handle_SALOME_InteractiveObject.hxx>
39 class SALOME_NumberFilter : public SALOME_Filter {
43 enum NumberFilter { INFERIOR, INFERIOR_OR_EQUAL, SUPERIOR, SUPERIOR_OR_EQUAL, EQUAL };
45 inline void* operator new(size_t,void* anAddress)
49 inline void* operator new(size_t size)
51 return Standard::Allocate(size);
53 inline void operator delete(void *anAddress)
55 if (anAddress) Standard::Free((Standard_Address&)anAddress);
57 // inline void operator delete(void *anAddress, size_t size)
59 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
63 Standard_EXPORT SALOME_NumberFilter(NumberFilter aGivenKind, Standard_Integer aValue);
64 Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SALOME_InteractiveObject)& anobj) const;
65 Standard_EXPORT ~SALOME_NumberFilter();
72 Standard_EXPORT friend Handle_Standard_Type& SALOME_NumberFilter_Type_();
73 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
74 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
85 Standard_Integer myValue;
103 // other inline functions and methods (like "C++: function call" methods)