Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Handle_exotkTree_MenuNode.hxx

Go to the documentation of this file.
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_exotkTree_MenuNode_HeaderFile
00017 #define _Handle_exotkTree_MenuNode_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_exotkTree_TreeNode;
00030 class exotkTree_MenuNode;
00031 Standard_EXPORT Handle_Standard_Type& STANDARD_TYPE(exotkTree_MenuNode);
00032 
00033 class Handle_exotkTree_MenuNode : public Handle_exotkTree_TreeNode {
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_exotkTree_MenuNode():Handle_exotkTree_TreeNode() {} 
00048     Handle_exotkTree_MenuNode(const Handle_exotkTree_MenuNode& aHandle) : Handle_exotkTree_TreeNode(aHandle) 
00049      {
00050      }
00051 
00052     Handle_exotkTree_MenuNode(const exotkTree_MenuNode* anItem) : Handle_exotkTree_TreeNode((exotkTree_TreeNode *)anItem) 
00053      {
00054      }
00055 
00056     Handle_exotkTree_MenuNode& operator=(const Handle_exotkTree_MenuNode& aHandle)
00057      {
00058       Assign(aHandle.Access());
00059       return *this;
00060      }
00061 
00062     Handle_exotkTree_MenuNode& operator=(const exotkTree_MenuNode* anItem)
00063      {
00064       Assign((Standard_Transient *)anItem);
00065       return *this;
00066      }
00067 
00068     exotkTree_MenuNode* operator->() 
00069      {
00070       return (exotkTree_MenuNode *)ControlAccess();
00071      }
00072 
00073     exotkTree_MenuNode* operator->() const 
00074      {
00075       return (exotkTree_MenuNode *)ControlAccess();
00076      }
00077 
00078    Standard_EXPORT ~Handle_exotkTree_MenuNode();
00079  
00080    Standard_EXPORT static const Handle_exotkTree_MenuNode DownCast(const Handle_Standard_Transient& AnObject);
00081 };
00082 #endif

Generated on Wed Jan 23 12:16:47 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001