00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef _exotkAF_SetOfDocument_HeaderFile
00016 #define _exotkAF_SetOfDocument_HeaderFile
00017
00018 #ifndef _exotkAF_SetListOfSetOfDocument_HeaderFile
00019 #include <exotkAF_SetListOfSetOfDocument.hxx>
00020 #endif
00021 #ifndef _Handle_exotkAF_Document_HeaderFile
00022 #include <Handle_exotkAF_Document.hxx>
00023 #endif
00024 #ifndef _Handle_exotkAF_ListNodeOfSetListOfSetOfDocument_HeaderFile
00025 #include <Handle_exotkAF_ListNodeOfSetListOfSetOfDocument.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 exotkAF_SetIteratorOfSetOfDocument;
00035 class exotkAF_Document;
00036 class exotkAF_SetListOfSetOfDocument;
00037 class exotkAF_ListNodeOfSetListOfSetOfDocument;
00038 class exotkAF_ListIteratorOfSetListOfSetOfDocument;
00039
00040
00041 #ifndef _Standard_Macro_HeaderFile
00042 #include <Standard_Macro.hxx>
00043 #endif
00044
00045 class exotkAF_SetOfDocument {
00046
00047 public:
00048 inline void* operator new(size_t,void* anAddress)
00049 {
00050 return anAddress;
00051 }
00052 inline void* operator new(size_t size)
00053 {
00054 return Standard::Allocate(size);
00055 }
00056 inline void operator delete(void *anAddress)
00057 {
00058 if (anAddress) Standard::Free((Standard_Address&)anAddress);
00059 }
00060
00061
00062
00063 Standard_EXPORT exotkAF_SetOfDocument();
00064 Standard_EXPORT inline Standard_Integer Extent() const;
00065 Standard_EXPORT inline Standard_Boolean IsEmpty() const;
00066 Standard_EXPORT inline void Clear() ;
00067 Standard_EXPORT Standard_Boolean Add(const Handle_exotkAF_Document& T) ;
00068 Standard_EXPORT Standard_Boolean Remove(const Handle_exotkAF_Document& T) ;
00069 Standard_EXPORT void Union(const exotkAF_SetOfDocument& B) ;
00070 Standard_EXPORT void Intersection(const exotkAF_SetOfDocument& B) ;
00071 Standard_EXPORT void Difference(const exotkAF_SetOfDocument& B) ;
00072 Standard_EXPORT Standard_Boolean Contains(const Handle_exotkAF_Document& T) const;
00073 Standard_EXPORT Standard_Boolean IsASubset(const exotkAF_SetOfDocument& S) const;
00074 Standard_EXPORT Standard_Boolean IsAProperSubset(const exotkAF_SetOfDocument& S) const;
00075
00076
00077 friend class exotkAF_SetIteratorOfSetOfDocument;
00078
00079
00080
00081 protected:
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091 private:
00092
00093
00094
00095 Standard_EXPORT exotkAF_SetOfDocument(const exotkAF_SetOfDocument& Other);
00096
00097
00098
00099
00100 exotkAF_SetListOfSetOfDocument myItems;
00101
00102
00103 };
00104
00105 #define Item Handle_exotkAF_Document
00106 #define Item_hxx <exotkAF_Document.hxx>
00107 #define TCollection_SetList exotkAF_SetListOfSetOfDocument
00108 #define TCollection_SetList_hxx <exotkAF_SetListOfSetOfDocument.hxx>
00109 #define TCollection_ListNodeOfSetList exotkAF_ListNodeOfSetListOfSetOfDocument
00110 #define TCollection_ListNodeOfSetList_hxx <exotkAF_ListNodeOfSetListOfSetOfDocument.hxx>
00111 #define TCollection_ListIteratorOfSetList exotkAF_ListIteratorOfSetListOfSetOfDocument
00112 #define TCollection_ListIteratorOfSetList_hxx <exotkAF_ListIteratorOfSetListOfSetOfDocument.hxx>
00113 #define TCollection_ListNodeOfSetList exotkAF_ListNodeOfSetListOfSetOfDocument
00114 #define TCollection_ListNodeOfSetList_hxx <exotkAF_ListNodeOfSetListOfSetOfDocument.hxx>
00115 #define TCollection_ListIteratorOfSetList exotkAF_ListIteratorOfSetListOfSetOfDocument
00116 #define TCollection_ListIteratorOfSetList_hxx <exotkAF_ListIteratorOfSetListOfSetOfDocument.hxx>
00117 #define TCollection_SetIterator exotkAF_SetIteratorOfSetOfDocument
00118 #define TCollection_SetIterator_hxx <exotkAF_SetIteratorOfSetOfDocument.hxx>
00119 #define Handle_TCollection_ListNodeOfSetList Handle_exotkAF_ListNodeOfSetListOfSetOfDocument
00120 #define TCollection_ListNodeOfSetList_Type_() exotkAF_ListNodeOfSetListOfSetOfDocument_Type_()
00121 #define Handle_TCollection_ListNodeOfSetList Handle_exotkAF_ListNodeOfSetListOfSetOfDocument
00122 #define TCollection_ListNodeOfSetList_Type_() exotkAF_ListNodeOfSetListOfSetOfDocument_Type_()
00123 #define TCollection_Set exotkAF_SetOfDocument
00124 #define TCollection_Set_hxx <exotkAF_SetOfDocument.hxx>
00125
00126 #include <TCollection_Set.lxx>
00127
00128 #undef Item
00129 #undef Item_hxx
00130 #undef TCollection_SetList
00131 #undef TCollection_SetList_hxx
00132 #undef TCollection_ListNodeOfSetList
00133 #undef TCollection_ListNodeOfSetList_hxx
00134 #undef TCollection_ListIteratorOfSetList
00135 #undef TCollection_ListIteratorOfSetList_hxx
00136 #undef TCollection_ListNodeOfSetList
00137 #undef TCollection_ListNodeOfSetList_hxx
00138 #undef TCollection_ListIteratorOfSetList
00139 #undef TCollection_ListIteratorOfSetList_hxx
00140 #undef TCollection_SetIterator
00141 #undef TCollection_SetIterator_hxx
00142 #undef Handle_TCollection_ListNodeOfSetList
00143 #undef TCollection_ListNodeOfSetList_Type_
00144 #undef Handle_TCollection_ListNodeOfSetList
00145 #undef TCollection_ListNodeOfSetList_Type_
00146 #undef TCollection_Set
00147 #undef TCollection_Set_hxx
00148
00149
00150
00151
00152
00153
00154 #endif