// File generated by CPPExt (Transient) // // Copyright (C) 1991,1995 by // // MATRA DATAVISION, FRANCE // // This software is furnished in accordance with the terms and conditions // of the contract and with the inclusion of the above copyright notice. // This software or any other copy thereof may not be provided or otherwise // be made available to any other person. No title to an ownership of the // software is hereby transferred. // // At the termination of the contract, the software and all copies of this // software must be deleted. #ifndef _Handle_User_Cylinder_HeaderFile #define _Handle_User_Cylinder_HeaderFile #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Standard_HeaderFile #include #endif #ifndef _Handle_AIS_InteractiveObject_HeaderFile #include #endif class Standard_Transient; class Handle_Standard_Type; class Handle(AIS_InteractiveObject); class User_Cylinder; Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(User_Cylinder); class Handle(User_Cylinder) : public Handle(AIS_InteractiveObject) { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } Handle(User_Cylinder)():Handle(AIS_InteractiveObject)() {} Handle(User_Cylinder)(const Handle(User_Cylinder)& aHandle) : Handle(AIS_InteractiveObject)(aHandle) { } Handle(User_Cylinder)(const User_Cylinder* anItem) : Handle(AIS_InteractiveObject)((AIS_InteractiveObject *)anItem) { } Handle(User_Cylinder)& operator=(const Handle(User_Cylinder)& aHandle) { Assign(aHandle.Access()); return *this; } Handle(User_Cylinder)& operator=(const User_Cylinder* anItem) { Assign((Standard_Transient *)anItem); return *this; } User_Cylinder* operator->() { return (User_Cylinder *)ControlAccess(); } User_Cylinder* operator->() const { return (User_Cylinder *)ControlAccess(); } Standard_EXPORT ~Handle(User_Cylinder)(); Standard_EXPORT static const Handle(User_Cylinder) DownCast(const Handle(Standard_Transient)& AnObject); }; #endif