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

exotkTree_ListOfTreeNode.hxx

Go to the documentation of this file.
00001 // File generated by CPPExt (Value)
00002 //                     Copyright (C) 1991,1995 by
00003 //  
00004 //                      MATRA DATAVISION, FRANCE
00005 //  
00006 // This software is furnished in accordance with the terms and conditions
00007 // of the contract and with the inclusion of the above copyright notice.
00008 // This software or any other copy thereof may not be provided or otherwise
00009 // be made available to any other person. No title to an ownership of the
00010 // software is hereby transferred.
00011 //  
00012 // At the termination of the contract, the software and all copies of this
00013 // software must be deleted.
00014 
00015 #ifndef _exotkTree_ListOfTreeNode_HeaderFile
00016 #define _exotkTree_ListOfTreeNode_HeaderFile
00017 
00018 #ifndef _Standard_Address_HeaderFile
00019 #include <Standard_Address.hxx>
00020 #endif
00021 #ifndef _Handle_exotkTree_TreeNode_HeaderFile
00022 #include <Handle_exotkTree_TreeNode.hxx>
00023 #endif
00024 #ifndef _Handle_exotkTree_ListNodeOfListOfTreeNode_HeaderFile
00025 #include <Handle_exotkTree_ListNodeOfListOfTreeNode.hxx>
00026 #endif
00027 #ifndef _Standard_Integer_HeaderFile
00028 #include <Standard_Integer.hxx>
00029 #endif
00030 #ifndef _Standard_Boolean_HeaderFile
00031 #include <Standard_Boolean.hxx>
00032 #endif
00033 class Standard_NoSuchObject;
00034 class exotkTree_ListIteratorOfListOfTreeNode;
00035 class exotkTree_TreeNode;
00036 class exotkTree_ListNodeOfListOfTreeNode;
00037 
00038 
00039 #ifndef _Standard_Macro_HeaderFile
00040 #include <Standard_Macro.hxx>
00041 #endif
00042 
00043 class exotkTree_ListOfTreeNode  {
00044 
00045 public:
00046     inline void* operator new(size_t,void* anAddress) 
00047       {
00048         return anAddress;
00049       }
00050     inline void* operator new(size_t size) 
00051       { 
00052         return Standard::Allocate(size); 
00053       }
00054     inline void  operator delete(void *anAddress) 
00055       { 
00056         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
00057       }
00058 
00059  // Methods PUBLIC
00060  // 
00061 Standard_EXPORT exotkTree_ListOfTreeNode();
00062 Standard_EXPORT   void Assign(const exotkTree_ListOfTreeNode& Other) ;
00063   void operator=(const exotkTree_ListOfTreeNode& Other) 
00064 {
00065   Assign(Other);
00066 }
00067 
00068 Standard_EXPORT   Standard_Integer Extent() const;
00069 Standard_EXPORT   void Clear() ;
00070 ~exotkTree_ListOfTreeNode()
00071 {
00072   Clear();
00073 }
00074 
00075 Standard_EXPORT inline   Standard_Boolean IsEmpty() const;
00076 Standard_EXPORT   void Prepend(const Handle_exotkTree_TreeNode& I) ;
00077 Standard_EXPORT   void Prepend(exotkTree_ListOfTreeNode& Other) ;
00078 Standard_EXPORT   void Append(const Handle_exotkTree_TreeNode& I) ;
00079 Standard_EXPORT   void Append(exotkTree_ListOfTreeNode& Other) ;
00080 Standard_EXPORT   Handle_exotkTree_TreeNode& First() const;
00081 Standard_EXPORT   Handle_exotkTree_TreeNode& Last() const;
00082 Standard_EXPORT   void RemoveFirst() ;
00083 Standard_EXPORT   void Remove(exotkTree_ListIteratorOfListOfTreeNode& It) ;
00084 Standard_EXPORT   void InsertBefore(const Handle_exotkTree_TreeNode& I,exotkTree_ListIteratorOfListOfTreeNode& It) ;
00085 Standard_EXPORT   void InsertBefore(exotkTree_ListOfTreeNode& Other,exotkTree_ListIteratorOfListOfTreeNode& It) ;
00086 Standard_EXPORT   void InsertAfter(const Handle_exotkTree_TreeNode& I,exotkTree_ListIteratorOfListOfTreeNode& It) ;
00087 Standard_EXPORT   void InsertAfter(exotkTree_ListOfTreeNode& Other,exotkTree_ListIteratorOfListOfTreeNode& It) ;
00088 
00089 
00090 friend class exotkTree_ListIteratorOfListOfTreeNode;
00091 
00092 
00093 
00094 protected:
00095 
00096  // Methods PROTECTED
00097  // 
00098 
00099 
00100  // Fields PROTECTED
00101  //
00102 
00103 
00104 private: 
00105 
00106  // Methods PRIVATE
00107  // 
00108 Standard_EXPORT exotkTree_ListOfTreeNode(const exotkTree_ListOfTreeNode& Other);
00109 
00110 
00111  // Fields PRIVATE
00112  //
00113 Standard_Address myFirst;
00114 Standard_Address myLast;
00115 
00116 
00117 };
00118 
00119 #define Item Handle_exotkTree_TreeNode
00120 #define Item_hxx <exotkTree_TreeNode.hxx>
00121 #define TCollection_ListNode exotkTree_ListNodeOfListOfTreeNode
00122 #define TCollection_ListNode_hxx <exotkTree_ListNodeOfListOfTreeNode.hxx>
00123 #define TCollection_ListIterator exotkTree_ListIteratorOfListOfTreeNode
00124 #define TCollection_ListIterator_hxx <exotkTree_ListIteratorOfListOfTreeNode.hxx>
00125 #define Handle_TCollection_ListNode Handle_exotkTree_ListNodeOfListOfTreeNode
00126 #define TCollection_ListNode_Type_() exotkTree_ListNodeOfListOfTreeNode_Type_()
00127 #define TCollection_List exotkTree_ListOfTreeNode
00128 #define TCollection_List_hxx <exotkTree_ListOfTreeNode.hxx>
00129 
00130 #include <TCollection_List.lxx>
00131 
00132 #undef Item
00133 #undef Item_hxx
00134 #undef TCollection_ListNode
00135 #undef TCollection_ListNode_hxx
00136 #undef TCollection_ListIterator
00137 #undef TCollection_ListIterator_hxx
00138 #undef Handle_TCollection_ListNode
00139 #undef TCollection_ListNode_Type_
00140 #undef TCollection_List
00141 #undef TCollection_List_hxx
00142 
00143 
00144 // other inline functions and methods (like "C++: function call" methods)
00145 //
00146 
00147 
00148 #endif

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