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_ListNodeOfSetListOfSetOfView.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_SetListOfSetOfView_HeaderFile 00025 #include <exotkAF_SetListOfSetOfView.hxx> 00026 #endif 00027 #ifndef _exotkAF_ListIteratorOfSetListOfSetOfView_HeaderFile 00028 #include <exotkAF_ListIteratorOfSetListOfSetOfView.hxx> 00029 #endif 00030 exotkAF_ListNodeOfSetListOfSetOfView::~exotkAF_ListNodeOfSetListOfSetOfView() {} 00031 00032 00033 00034 Standard_EXPORT Handle_Standard_Type& exotkAF_ListNodeOfSetListOfSetOfView_Type_() 00035 { 00036 00037 static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); 00038 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode); 00039 static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); 00040 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 00041 static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); 00042 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient); 00043 00044 00045 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; 00046 static Handle_Standard_Type _aType = new Standard_Type("exotkAF_ListNodeOfSetListOfSetOfView", 00047 sizeof(exotkAF_ListNodeOfSetListOfSetOfView), 00048 1, 00049 (Standard_Address)_Ancestors, 00050 (Standard_Address)NULL); 00051 00052 return _aType; 00053 } 00054 00055 00056 // DownCast method 00057 // allow safe downcasting 00058 // 00059 const Handle_exotkAF_ListNodeOfSetListOfSetOfView Handle_exotkAF_ListNodeOfSetListOfSetOfView::DownCast(const Handle_Standard_Transient& AnObject) 00060 { 00061 Handle_exotkAF_ListNodeOfSetListOfSetOfView _anOtherObject; 00062 00063 if (!AnObject.IsNull()) { 00064 if (AnObject->IsKind(STANDARD_TYPE(exotkAF_ListNodeOfSetListOfSetOfView))) { 00065 _anOtherObject = Handle_exotkAF_ListNodeOfSetListOfSetOfView((Handle_exotkAF_ListNodeOfSetListOfSetOfView&)AnObject); 00066 } 00067 } 00068 00069 return _anOtherObject ; 00070 } 00071 const Handle_Standard_Type& exotkAF_ListNodeOfSetListOfSetOfView::DynamicType() const 00072 { 00073 return STANDARD_TYPE(exotkAF_ListNodeOfSetListOfSetOfView) ; 00074 } 00075 Standard_Boolean exotkAF_ListNodeOfSetListOfSetOfView::IsKind(const Handle_Standard_Type& AType) const 00076 { 00077 return (STANDARD_TYPE(exotkAF_ListNodeOfSetListOfSetOfView) == AType || TCollection_MapNode::IsKind(AType)); 00078 } 00079 Handle_exotkAF_ListNodeOfSetListOfSetOfView::~Handle_exotkAF_ListNodeOfSetListOfSetOfView() {} 00080 #define Item Handle_exotkAF_View 00081 #define Item_hxx <exotkAF_View.hxx> 00082 #define TCollection_ListNode exotkAF_ListNodeOfSetListOfSetOfView 00083 #define TCollection_ListNode_hxx <exotkAF_ListNodeOfSetListOfSetOfView.hxx> 00084 #define TCollection_ListIterator exotkAF_ListIteratorOfSetListOfSetOfView 00085 #define TCollection_ListIterator_hxx <exotkAF_ListIteratorOfSetListOfSetOfView.hxx> 00086 #define Handle_TCollection_ListNode Handle_exotkAF_ListNodeOfSetListOfSetOfView 00087 #define TCollection_ListNode_Type_() exotkAF_ListNodeOfSetListOfSetOfView_Type_() 00088 #define TCollection_List exotkAF_SetListOfSetOfView 00089 #define TCollection_List_hxx <exotkAF_SetListOfSetOfView.hxx> 00090 #include <TCollection_ListNode.gxx> 00091
1.2.12 written by Dimitri van Heesch,
© 1997-2001