00001 // File generated by CPPExt (Transient) 00002 // 00003 // Copyright (C) 1991,1995 by 00004 // 00005 // MATRA DATAVISION, FRANCE 00006 // 00007 // This software is furnished in accordance with the terms and conditions 00008 // of the contract and with the inclusion of the above copyright notice. 00009 // This software or any other copy thereof may not be provided or otherwise 00010 // be made available to any other person. No title to an ownership of the 00011 // software is hereby transferred. 00012 // 00013 // At the termination of the contract, the software and all copies of this 00014 // software must be deleted. 00015 00016 #ifndef _Handle_exotkAF_Command_HeaderFile 00017 #define _Handle_exotkAF_Command_HeaderFile 00018 00019 #ifndef _Standard_Macro_HeaderFile 00020 #include <Standard_Macro.hxx> 00021 #endif 00022 00023 #ifndef _Handle_MMgt_TShared_HeaderFile 00024 #include <Handle_MMgt_TShared.hxx> 00025 #endif 00026 00027 class Standard_Transient; 00028 class Handle_Standard_Type; 00029 class Handle_MMgt_TShared; 00030 class exotkAF_Command; 00031 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(exotkAF_Command); 00032 00033 class Handle_exotkAF_Command : public Handle_MMgt_TShared { 00034 public: 00035 inline void* operator new(size_t,void* anAddress) 00036 { 00037 return anAddress; 00038 } 00039 inline void* operator new(size_t size) 00040 { 00041 return Standard::Allocate(size); 00042 } 00043 inline void operator delete(void *anAddress) 00044 { 00045 if (anAddress) Standard::Free((Standard_Address&)anAddress); 00046 } 00047 Handle_exotkAF_Command():Handle_MMgt_TShared() {} 00048 Handle_exotkAF_Command(const Handle_exotkAF_Command& aHandle) : Handle_MMgt_TShared(aHandle) 00049 { 00050 } 00051 00052 Handle_exotkAF_Command(const exotkAF_Command* anItem) : Handle_MMgt_TShared((MMgt_TShared *)anItem) 00053 { 00054 } 00055 00056 Handle_exotkAF_Command& operator=(const Handle_exotkAF_Command& aHandle) 00057 { 00058 Assign(aHandle.Access()); 00059 return *this; 00060 } 00061 00062 Handle_exotkAF_Command& operator=(const exotkAF_Command* anItem) 00063 { 00064 Assign((Standard_Transient *)anItem); 00065 return *this; 00066 } 00067 00068 exotkAF_Command* operator->() 00069 { 00070 return (exotkAF_Command *)ControlAccess(); 00071 } 00072 00073 exotkAF_Command* operator->() const 00074 { 00075 return (exotkAF_Command *)ControlAccess(); 00076 } 00077 00078 Standard_EXPORT ~Handle_exotkAF_Command(); 00079 00080 Standard_EXPORT static const Handle_exotkAF_Command DownCast(const Handle_Standard_Transient& AnObject); 00081 }; 00082 #endif
1.2.12 written by Dimitri van Heesch,
© 1997-2001