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 _exotkTrace_ListOfRoot_HeaderFile 00016 #define _exotkTrace_ListOfRoot_HeaderFile 00017 00018 #ifndef _Standard_Address_HeaderFile 00019 #include <Standard_Address.hxx> 00020 #endif 00021 #ifndef _Handle_exotkTrace_Root_HeaderFile 00022 #include <Handle_exotkTrace_Root.hxx> 00023 #endif 00024 #ifndef _Handle_exotkTrace_ListNodeOfListOfRoot_HeaderFile 00025 #include <Handle_exotkTrace_ListNodeOfListOfRoot.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 exotkTrace_ListIteratorOfListOfRoot; 00035 class exotkTrace_Root; 00036 class exotkTrace_ListNodeOfListOfRoot; 00037 00038 00039 #ifndef _Standard_Macro_HeaderFile 00040 #include <Standard_Macro.hxx> 00041 #endif 00042 00043 class exotkTrace_ListOfRoot { 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 exotkTrace_ListOfRoot(); 00062 Standard_EXPORT void Assign(const exotkTrace_ListOfRoot& Other) ; 00063 void operator=(const exotkTrace_ListOfRoot& Other) 00064 { 00065 Assign(Other); 00066 } 00067 00068 Standard_EXPORT Standard_Integer Extent() const; 00069 Standard_EXPORT void Clear() ; 00070 ~exotkTrace_ListOfRoot() 00071 { 00072 Clear(); 00073 } 00074 00075 Standard_EXPORT inline Standard_Boolean IsEmpty() const; 00076 Standard_EXPORT void Prepend(const Handle_exotkTrace_Root& I) ; 00077 Standard_EXPORT void Prepend(exotkTrace_ListOfRoot& Other) ; 00078 Standard_EXPORT void Append(const Handle_exotkTrace_Root& I) ; 00079 Standard_EXPORT void Append(exotkTrace_ListOfRoot& Other) ; 00080 Standard_EXPORT Handle_exotkTrace_Root& First() const; 00081 Standard_EXPORT Handle_exotkTrace_Root& Last() const; 00082 Standard_EXPORT void RemoveFirst() ; 00083 Standard_EXPORT void Remove(exotkTrace_ListIteratorOfListOfRoot& It) ; 00084 Standard_EXPORT void InsertBefore(const Handle_exotkTrace_Root& I,exotkTrace_ListIteratorOfListOfRoot& It) ; 00085 Standard_EXPORT void InsertBefore(exotkTrace_ListOfRoot& Other,exotkTrace_ListIteratorOfListOfRoot& It) ; 00086 Standard_EXPORT void InsertAfter(const Handle_exotkTrace_Root& I,exotkTrace_ListIteratorOfListOfRoot& It) ; 00087 Standard_EXPORT void InsertAfter(exotkTrace_ListOfRoot& Other,exotkTrace_ListIteratorOfListOfRoot& It) ; 00088 00089 00090 friend class exotkTrace_ListIteratorOfListOfRoot; 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 exotkTrace_ListOfRoot(const exotkTrace_ListOfRoot& Other); 00109 00110 00111 // Fields PRIVATE 00112 // 00113 Standard_Address myFirst; 00114 Standard_Address myLast; 00115 00116 00117 }; 00118 00119 #define Item Handle_exotkTrace_Root 00120 #define Item_hxx <exotkTrace_Root.hxx> 00121 #define TCollection_ListNode exotkTrace_ListNodeOfListOfRoot 00122 #define TCollection_ListNode_hxx <exotkTrace_ListNodeOfListOfRoot.hxx> 00123 #define TCollection_ListIterator exotkTrace_ListIteratorOfListOfRoot 00124 #define TCollection_ListIterator_hxx <exotkTrace_ListIteratorOfListOfRoot.hxx> 00125 #define Handle_TCollection_ListNode Handle_exotkTrace_ListNodeOfListOfRoot 00126 #define TCollection_ListNode_Type_() exotkTrace_ListNodeOfListOfRoot_Type_() 00127 #define TCollection_List exotkTrace_ListOfRoot 00128 #define TCollection_List_hxx <exotkTrace_ListOfRoot.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
1.2.12 written by Dimitri van Heesch,
© 1997-2001