Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef _Handle_GEOM_AISShape_HeaderFile
00028 #define _Handle_GEOM_AISShape_HeaderFile
00029
00030 #ifndef _Standard_Macro_HeaderFile
00031 #include <Standard_Macro.hxx>
00032 #endif
00033 #ifndef _Standard_HeaderFile
00034 #include <Standard.hxx>
00035 #endif
00036
00037 #ifndef _Handle_SALOME_AISShape_HeaderFile
00038 #include "Handle_SALOME_AISShape.hxx"
00039 #endif
00040
00041 class Standard_Transient;
00042 class Handle_Standard_Type;
00043 class Handle(SALOME_AISShape);
00044 class GEOM_AISShape;
00045 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(GEOM_AISShape);
00046
00047 class Handle(GEOM_AISShape) : public Handle(SALOME_AISShape) {
00048 public:
00049 inline void* operator new(size_t,void* anAddress)
00050 {
00051 return anAddress;
00052 }
00053 inline void* operator new(size_t size)
00054 {
00055 return Standard::Allocate(size);
00056 }
00057 inline void operator delete(void *anAddress)
00058 {
00059 if (anAddress) Standard::Free((Standard_Address&)anAddress);
00060 }
00061
00062
00063
00064
00065 Handle(GEOM_AISShape)():Handle(SALOME_AISShape)() {}
00066 Handle(GEOM_AISShape)(const Handle(GEOM_AISShape)& aHandle) : Handle(SALOME_AISShape)(aHandle)
00067 {
00068 }
00069
00070 Handle(GEOM_AISShape)(const GEOM_AISShape* anItem) : Handle(SALOME_AISShape)((SALOME_AISShape *)anItem)
00071 {
00072 }
00073
00074 Handle(GEOM_AISShape)& operator=(const Handle(GEOM_AISShape)& aHandle)
00075 {
00076 Assign(aHandle.Access());
00077 return *this;
00078 }
00079
00080 Handle(GEOM_AISShape)& operator=(const GEOM_AISShape* anItem)
00081 {
00082 Assign((Standard_Transient *)anItem);
00083 return *this;
00084 }
00085
00086 GEOM_AISShape* operator->()
00087 {
00088 return (GEOM_AISShape *)ControlAccess();
00089 }
00090
00091 GEOM_AISShape* operator->() const
00092 {
00093 return (GEOM_AISShape *)ControlAccess();
00094 }
00095
00096 Standard_EXPORT ~Handle(GEOM_AISShape)();
00097
00098 Standard_EXPORT static const Handle(GEOM_AISShape) DownCast(const Handle(Standard_Transient)& AnObject);
00099 };
00100 #endif