00001 // File generated by CPPExt (Transient) 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 #include <exotkAF_HSetOfView.hxx> 00016 00017 #ifndef _Standard_TypeMismatch_HeaderFile 00018 #include <Standard_TypeMismatch.hxx> 00019 #endif 00020 00021 #ifndef _exotkAF_View_HeaderFile 00022 #include <exotkAF_View.hxx> 00023 #endif 00024 #ifndef _exotkAF_SetOfView_HeaderFile 00025 #include <exotkAF_SetOfView.hxx> 00026 #endif 00027 exotkAF_HSetOfView::~exotkAF_HSetOfView() {} 00028 00029 00030 00031 Standard_EXPORT Handle_Standard_Type& exotkAF_HSetOfView_Type_() 00032 { 00033 00034 static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared); 00035 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared); 00036 static Handle_Standard_Type aType2 = STANDARD_TYPE(Standard_Transient); 00037 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(Standard_Transient); 00038 00039 00040 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL}; 00041 static Handle_Standard_Type _aType = new Standard_Type("exotkAF_HSetOfView", 00042 sizeof(exotkAF_HSetOfView), 00043 1, 00044 (Standard_Address)_Ancestors, 00045 (Standard_Address)NULL); 00046 00047 return _aType; 00048 } 00049 00050 00051 // DownCast method 00052 // allow safe downcasting 00053 // 00054 const Handle_exotkAF_HSetOfView Handle_exotkAF_HSetOfView::DownCast(const Handle_Standard_Transient& AnObject) 00055 { 00056 Handle_exotkAF_HSetOfView _anOtherObject; 00057 00058 if (!AnObject.IsNull()) { 00059 if (AnObject->IsKind(STANDARD_TYPE(exotkAF_HSetOfView))) { 00060 _anOtherObject = Handle_exotkAF_HSetOfView((Handle_exotkAF_HSetOfView&)AnObject); 00061 } 00062 } 00063 00064 return _anOtherObject ; 00065 } 00066 const Handle_Standard_Type& exotkAF_HSetOfView::DynamicType() const 00067 { 00068 return STANDARD_TYPE(exotkAF_HSetOfView) ; 00069 } 00070 Standard_Boolean exotkAF_HSetOfView::IsKind(const Handle_Standard_Type& AType) const 00071 { 00072 return (STANDARD_TYPE(exotkAF_HSetOfView) == AType || MMgt_TShared::IsKind(AType)); 00073 } 00074 Handle_exotkAF_HSetOfView::~Handle_exotkAF_HSetOfView() {} 00075 #define Item Handle_exotkAF_View 00076 #define Item_hxx <exotkAF_View.hxx> 00077 #define TheSet exotkAF_SetOfView 00078 #define TheSet_hxx <exotkAF_SetOfView.hxx> 00079 #define TCollection_HSet exotkAF_HSetOfView 00080 #define TCollection_HSet_hxx <exotkAF_HSetOfView.hxx> 00081 #define Handle_TCollection_HSet Handle_exotkAF_HSetOfView 00082 #define TCollection_HSet_Type_() exotkAF_HSetOfView_Type_() 00083 #include <TCollection_HSet.gxx> 00084
1.2.12 written by Dimitri van Heesch,
© 1997-2001