00001
00002
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00022
00028 #ifndef _exotkTree_MenuNode_HeaderFile
00029 #define _exotkTree_MenuNode_HeaderFile
00030
00031 #if _MSC_VER > 1000
00032 #pragma once
00033 #endif // _MSC_VER > 1000
00034
00035 #include <exotkTree_TreeNode.hxx>
00036 #ifndef _Handle_exotkTree_MenuNode_HeaderFile
00037 #include <Handle_exotkTree_MenuNode.hxx>
00038 #endif
00039
00045 class exotkTree_MenuNode : public exotkTree_TreeNode
00046 {
00047 public:
00048
00056 inline void* operator new(size_t,void* anAddress)
00057 {
00058 return anAddress;
00059 }
00060
00067 inline void* operator new(size_t size)
00068 {
00069 return Standard::Allocate(size);
00070 }
00071
00078 inline void operator delete(void *anAddress)
00079 {
00080 if (anAddress) Standard::Free((Standard_Address&)anAddress);
00081 }
00082
00087 Standard_EXPORT exotkTree_MenuNode();
00088
00093 Standard_EXPORT virtual ~exotkTree_MenuNode();
00094
00095
00100 Standard_EXPORT virtual void AddSeparator();
00101
00107 Standard_EXPORT virtual Standard_Boolean Execute() {return Standard_False;};
00108
00114 Standard_EXPORT friend Handle_Standard_Type& exotkTree_MenuNode_Type_();
00115
00121 Standard_EXPORT const Handle_Standard_Type& DynamicType() const;
00122
00129 Standard_EXPORT Standard_Boolean IsKind(const Handle_Standard_Type&) const;
00130
00131 };
00132
00133 #endif