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 _exotkAF_HSetOfView_HeaderFile 00017 #define _exotkAF_HSetOfView_HeaderFile 00018 00019 #ifndef _Handle_exotkAF_HSetOfView_HeaderFile 00020 #include <Handle_exotkAF_HSetOfView.hxx> 00021 #endif 00022 00023 #ifndef _exotkAF_SetOfView_HeaderFile 00024 #include <exotkAF_SetOfView.hxx> 00025 #endif 00026 #ifndef _MMgt_TShared_HeaderFile 00027 #include <MMgt_TShared.hxx> 00028 #endif 00029 #ifndef _Handle_exotkAF_View_HeaderFile 00030 #include <Handle_exotkAF_View.hxx> 00031 #endif 00032 #ifndef _Standard_Integer_HeaderFile 00033 #include <Standard_Integer.hxx> 00034 #endif 00035 #ifndef _Standard_Boolean_HeaderFile 00036 #include <Standard_Boolean.hxx> 00037 #endif 00038 class exotkAF_View; 00039 class exotkAF_SetOfView; 00040 00041 00042 class exotkAF_HSetOfView : public MMgt_TShared { 00043 00044 public: 00045 inline void* operator new(size_t,void* anAddress) 00046 { 00047 return anAddress; 00048 } 00049 inline void* operator new(size_t size) 00050 { 00051 return Standard::Allocate(size); 00052 } 00053 inline void operator delete(void *anAddress) 00054 { 00055 if (anAddress) Standard::Free((Standard_Address&)anAddress); 00056 } 00057 00058 // Methods PUBLIC 00059 // 00060 Standard_EXPORT exotkAF_HSetOfView(); 00061 Standard_EXPORT inline Standard_Integer Extent() const; 00062 Standard_EXPORT inline Standard_Boolean IsEmpty() const; 00063 Standard_EXPORT inline void Clear() ; 00064 Standard_EXPORT inline Standard_Boolean Add(const Handle_exotkAF_View& T) ; 00065 Standard_EXPORT inline Standard_Boolean Remove(const Handle_exotkAF_View& T) ; 00066 Standard_EXPORT Handle_exotkAF_HSetOfView Union(const Handle_exotkAF_HSetOfView& B) const; 00067 Standard_EXPORT Handle_exotkAF_HSetOfView Intersection(const Handle_exotkAF_HSetOfView& B) const; 00068 Standard_EXPORT Handle_exotkAF_HSetOfView Difference(const Handle_exotkAF_HSetOfView& B) const; 00069 Standard_EXPORT inline Standard_Boolean Contains(const Handle_exotkAF_View& T) const; 00070 Standard_EXPORT inline Standard_Boolean IsASubset(const Handle_exotkAF_HSetOfView& S) const; 00071 Standard_EXPORT inline Standard_Boolean IsAProperSubset(const Handle_exotkAF_HSetOfView& S) const; 00072 Standard_EXPORT Handle_exotkAF_HSetOfView ShallowCopy() const; 00073 Standard_EXPORT inline const exotkAF_SetOfView& Set() const; 00074 Standard_EXPORT inline exotkAF_SetOfView& ChangeSet() ; 00075 Standard_EXPORT ~exotkAF_HSetOfView(); 00076 00077 00078 00079 00080 // Type management 00081 // 00082 Standard_EXPORT friend Handle_Standard_Type& exotkAF_HSetOfView_Type_(); 00083 Standard_EXPORT const Handle_Standard_Type& DynamicType() const; 00084 Standard_EXPORT Standard_Boolean IsKind(const Handle_Standard_Type&) const; 00085 00086 protected: 00087 00088 // Methods PROTECTED 00089 // 00090 00091 00092 // Fields PROTECTED 00093 // 00094 00095 00096 private: 00097 00098 // Methods PRIVATE 00099 // 00100 00101 00102 // Fields PRIVATE 00103 // 00104 exotkAF_SetOfView mySet; 00105 00106 00107 }; 00108 00109 #define Item Handle_exotkAF_View 00110 #define Item_hxx <exotkAF_View.hxx> 00111 #define TheSet exotkAF_SetOfView 00112 #define TheSet_hxx <exotkAF_SetOfView.hxx> 00113 #define TCollection_HSet exotkAF_HSetOfView 00114 #define TCollection_HSet_hxx <exotkAF_HSetOfView.hxx> 00115 #define Handle_TCollection_HSet Handle_exotkAF_HSetOfView 00116 #define TCollection_HSet_Type_() exotkAF_HSetOfView_Type_() 00117 00118 #include <TCollection_HSet.lxx> 00119 00120 #undef Item 00121 #undef Item_hxx 00122 #undef TheSet 00123 #undef TheSet_hxx 00124 #undef TCollection_HSet 00125 #undef TCollection_HSet_hxx 00126 #undef Handle_TCollection_HSet 00127 #undef TCollection_HSet_Type_ 00128 00129 00130 // other inline functions and methods (like "C++: function call" methods) 00131 // 00132 inline Handle_exotkAF_HSetOfView ShallowCopy(const Handle_exotkAF_HSetOfView& me) { 00133 return me->ShallowCopy(); 00134 } 00135 00136 00137 00138 #endif
1.2.12 written by Dimitri van Heesch,
© 1997-2001