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 _GEOM_ShapeTypeFilter_HeaderFile
17 #define _GEOM_ShapeTypeFilter_HeaderFile
19 #ifndef _Handle_GEOM_ShapeTypeFilter_HeaderFile
20 #include "Handle_GEOM_ShapeTypeFilter.hxx"
23 #include "SALOME_InteractiveObject.hxx"
24 #include "SALOME_Filter.hxx"
27 #include <SALOMEconfig.h>
28 #include CORBA_SERVER_HEADER(GEOM_Shape)
29 #include CORBA_SERVER_HEADER(GEOM_Gen)
30 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
32 // Open CASCADE Includes
33 #include <Standard.hxx>
35 #include <TopoDS_Shape.hxx>
37 class GEOM_ShapeTypeFilter : public SALOME_Filter {
41 inline void* operator new(size_t,void* anAddress)
45 inline void* operator new(size_t size)
47 return Standard::Allocate(size);
49 inline void operator delete(void *anAddress)
51 if (anAddress) Standard::Free((Standard_Address&)anAddress);
53 // inline void operator delete(void *anAddress, size_t size)
55 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
59 Standard_EXPORT GEOM_ShapeTypeFilter(TopAbs_ShapeEnum ShapeType,
60 GEOM::GEOM_Gen_ptr geom);
61 Standard_EXPORT virtual Standard_Boolean IsOk(const Handle(SALOME_InteractiveObject)& anobj) const;
62 Standard_EXPORT ~GEOM_ShapeTypeFilter();
69 Standard_EXPORT friend Handle_Standard_Type& GEOM_ShapeTypeFilter_Type_();
70 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
71 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
81 TopAbs_ShapeEnum myKind;
82 GEOM::GEOM_Gen_var myComponentGeom;
100 // other inline functions and methods (like "C++: function call" methods)