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_AISShape_HeaderFile
17 #define _SALOME_AISShape_HeaderFile
19 #ifndef _Standard_HeaderFile
20 #include <Standard.hxx>
22 #ifndef _Handle_SALOME_AISShape_HeaderFile
23 #include <Handle_SALOME_AISShape.hxx>
26 #ifndef _Standard_CString_HeaderFile
27 #include <Standard_CString.hxx>
29 #ifndef _Handle_SALOME_InteractiveObject_HeaderFile
30 #include <Handle_SALOME_InteractiveObject.hxx>
32 #ifndef _AIS_Shape_HeaderFile
33 #include <AIS_Shape.hxx>
35 #ifndef _Standard_Boolean_HeaderFile
36 #include <Standard_Boolean.hxx>
38 class SALOME_InteractiveObject;
42 class SALOME_AISShape : public AIS_Shape {
46 inline void* operator new(size_t,void* anAddress)
50 inline void* operator new(size_t size)
52 return Standard::Allocate(size);
54 inline void operator delete(void *anAddress)
56 if (anAddress) Standard::Free((Standard_Address&)anAddress);
58 // inline void operator delete(void *anAddress, size_t size)
60 // if (anAddress) Standard::Free((Standard_Address&)anAddress,size);
64 Standard_EXPORT SALOME_AISShape(const TopoDS_Shape& shape);
65 Standard_EXPORT virtual Handle_SALOME_InteractiveObject getIO() = 0;
66 Standard_EXPORT virtual Standard_Boolean hasIO() = 0;
67 Standard_EXPORT virtual Standard_CString getName() = 0;
68 Standard_EXPORT virtual void setName(Standard_CString aName) = 0;
69 Standard_EXPORT ~SALOME_AISShape();
76 Standard_EXPORT friend Handle_Standard_Type& SALOME_AISShape_Type_();
77 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
78 Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
105 // other inline functions and methods (like "C++: function call" methods)