00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _exotkTree_ListNodeOfListOfTreeNode_HeaderFile
00017 #define _exotkTree_ListNodeOfListOfTreeNode_HeaderFile
00018
00019 #ifndef _Handle_exotkTree_ListNodeOfListOfTreeNode_HeaderFile
00020 #include <Handle_exotkTree_ListNodeOfListOfTreeNode.hxx>
00021 #endif
00022
00023 #ifndef _Handle_exotkTree_TreeNode_HeaderFile
00024 #include <Handle_exotkTree_TreeNode.hxx>
00025 #endif
00026 #ifndef _TCollection_MapNode_HeaderFile
00027 #include <TCollection_MapNode.hxx>
00028 #endif
00029 #ifndef _TCollection_MapNodePtr_HeaderFile
00030 #include <TCollection_MapNodePtr.hxx>
00031 #endif
00032 class exotkTree_TreeNode;
00033 class exotkTree_ListOfTreeNode;
00034 class exotkTree_ListIteratorOfListOfTreeNode;
00035
00036
00037 class exotkTree_ListNodeOfListOfTreeNode : public TCollection_MapNode {
00038
00039 public:
00040 inline void* operator new(size_t,void* anAddress)
00041 {
00042 return anAddress;
00043 }
00044 inline void* operator new(size_t size)
00045 {
00046 return Standard::Allocate(size);
00047 }
00048 inline void operator delete(void *anAddress)
00049 {
00050 if (anAddress) Standard::Free((Standard_Address&)anAddress);
00051 }
00052
00053
00054
00055 Standard_EXPORT inline exotkTree_ListNodeOfListOfTreeNode(const Handle_exotkTree_TreeNode& I,const TCollection_MapNodePtr& n);
00056 Standard_EXPORT inline Handle_exotkTree_TreeNode& Value() const;
00057 Standard_EXPORT ~exotkTree_ListNodeOfListOfTreeNode();
00058
00059
00060
00061
00062
00063
00064 Standard_EXPORT friend Handle_Standard_Type& exotkTree_ListNodeOfListOfTreeNode_Type_();
00065 Standard_EXPORT const Handle_Standard_Type& DynamicType() const;
00066 Standard_EXPORT Standard_Boolean IsKind(const Handle_Standard_Type&) const;
00067
00068 protected:
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078 private:
00079
00080
00081
00082
00083
00084
00085
00086 Handle_exotkTree_TreeNode myValue;
00087
00088
00089 };
00090
00091 #define Item Handle_exotkTree_TreeNode
00092 #define Item_hxx <exotkTree_TreeNode.hxx>
00093 #define TCollection_ListNode exotkTree_ListNodeOfListOfTreeNode
00094 #define TCollection_ListNode_hxx <exotkTree_ListNodeOfListOfTreeNode.hxx>
00095 #define TCollection_ListIterator exotkTree_ListIteratorOfListOfTreeNode
00096 #define TCollection_ListIterator_hxx <exotkTree_ListIteratorOfListOfTreeNode.hxx>
00097 #define Handle_TCollection_ListNode Handle_exotkTree_ListNodeOfListOfTreeNode
00098 #define TCollection_ListNode_Type_() exotkTree_ListNodeOfListOfTreeNode_Type_()
00099 #define TCollection_List exotkTree_ListOfTreeNode
00100 #define TCollection_List_hxx <exotkTree_ListOfTreeNode.hxx>
00101
00102 #include <TCollection_ListNode.lxx>
00103
00104 #undef Item
00105 #undef Item_hxx
00106 #undef TCollection_ListNode
00107 #undef TCollection_ListNode_hxx
00108 #undef TCollection_ListIterator
00109 #undef TCollection_ListIterator_hxx
00110 #undef Handle_TCollection_ListNode
00111 #undef TCollection_ListNode_Type_
00112 #undef TCollection_List
00113 #undef TCollection_List_hxx
00114
00115
00116
00117
00118
00119
00120 #endif