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 _Handle_ISession2D_Curve_HeaderFile
17 #define _Handle_ISession2D_Curve_HeaderFile
19 #ifndef _Standard_Macro_HeaderFile
20 #include <Standard_Macro.hxx>
22 #ifndef _Standard_HeaderFile
23 #include <Standard.hxx>
26 #ifndef _Handle_AIS_InteractiveObject_HeaderFile
27 #include <Handle_AIS_InteractiveObject.hxx>
30 class Standard_Transient;
31 class Handle_Standard_Type;
32 class Handle(AIS_InteractiveObject);
33 class ISession2D_Curve;
34 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(ISession2D_Curve);
36 class Handle(ISession2D_Curve) : public Handle(AIS_InteractiveObject) {
38 void* operator new(size_t,void* anAddress)
42 void* operator new(size_t size)
44 return Standard::Allocate(size);
46 void operator delete(void *anAddress)
48 if (anAddress) Standard::Free((Standard_Address&)anAddress);
50 Handle(ISession2D_Curve)():Handle(AIS_InteractiveObject)() {}
51 Handle(ISession2D_Curve)(const Handle(ISession2D_Curve)& aHandle) : Handle(AIS_InteractiveObject)(aHandle)
55 Handle(ISession2D_Curve)(const ISession2D_Curve* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem)
59 Handle(ISession2D_Curve)& operator=(const Handle(ISession2D_Curve)& aHandle)
61 Assign(aHandle.Access());
65 Handle(ISession2D_Curve)& operator=(const ISession2D_Curve* anItem)
67 Assign((Standard_Transient *)anItem);
71 ISession2D_Curve* operator->()
73 return (ISession2D_Curve *)ControlAccess();
76 ISession2D_Curve* operator->() const
78 return (ISession2D_Curve *)ControlAccess();
81 Standard_EXPORT ~Handle(ISession2D_Curve)();
83 Standard_EXPORT static const Handle(ISession2D_Curve) DownCast(const Handle(Standard_Transient)& AnObject);