00001 // File generated by CPPExt (Parameter) 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 <exotkParameter_SequenceNodeOfSequenceOfParameter.hxx> 00016 00017 #ifndef _Standard_TypeMismatch_HeaderFile 00018 #include <Standard_TypeMismatch.hxx> 00019 #endif 00020 00021 #ifndef _exotkParameter_Root_HeaderFile 00022 #include <exotkParameter_Root.hxx> 00023 #endif 00024 #ifndef _exotkParameter_SequenceOfexotkParameter_HeaderFile 00025 #include <exotkParameter_SequenceOfParameter.hxx> 00026 #endif 00027 exotkParameter_SequenceNodeOfSequenceOfParameter::~exotkParameter_SequenceNodeOfSequenceOfParameter() {} 00028 00029 00030 00031 Standard_EXPORT Handle_Standard_Type& exotkParameter_SequenceNodeOfSequenceOfParameter_Type_() 00032 { 00033 00034 static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_SeqNode); 00035 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_SeqNode); 00036 static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); 00037 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 00038 static Handle_Standard_Type aType3 = STANDARD_TYPE(exotkParameter_Root); 00039 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(exotkParameter_Root); 00040 00041 00042 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; 00043 static Handle_Standard_Type _aType = new Standard_Type("exotkParameter_SequenceNodeOfSequenceOfParameter", 00044 sizeof(exotkParameter_SequenceNodeOfSequenceOfParameter), 00045 1, 00046 (Standard_Address)_Ancestors, 00047 (Standard_Address)NULL); 00048 00049 return _aType; 00050 } 00051 00052 00053 // DownCast method 00054 // allow safe downcasting 00055 // 00056 const Handle_exotkParameter_SequenceNodeOfSequenceOfParameter Handle_exotkParameter_SequenceNodeOfSequenceOfParameter::DownCast(const Handle_Standard_Transient& AnObject) 00057 { 00058 Handle_exotkParameter_SequenceNodeOfSequenceOfParameter _anOtherObject; 00059 00060 if (!AnObject.IsNull()) { 00061 if (AnObject->IsKind(STANDARD_TYPE(exotkParameter_SequenceNodeOfSequenceOfParameter))) { 00062 _anOtherObject = Handle_exotkParameter_SequenceNodeOfSequenceOfParameter((Handle_exotkParameter_SequenceNodeOfSequenceOfParameter&)AnObject); 00063 } 00064 } 00065 00066 return _anOtherObject ; 00067 } 00068 const Handle_Standard_Type& exotkParameter_SequenceNodeOfSequenceOfParameter::DynamicType() const 00069 { 00070 return STANDARD_TYPE(exotkParameter_SequenceNodeOfSequenceOfParameter) ; 00071 } 00072 Standard_Boolean exotkParameter_SequenceNodeOfSequenceOfParameter::IsKind(const Handle_Standard_Type& AType) const 00073 { 00074 return (STANDARD_TYPE(exotkParameter_SequenceNodeOfSequenceOfParameter) == AType || TCollection_SeqNode::IsKind(AType)); 00075 } 00076 Handle_exotkParameter_SequenceNodeOfSequenceOfParameter::~Handle_exotkParameter_SequenceNodeOfSequenceOfParameter() {} 00077 #define SeqItem Handle_exotkParameter_Root 00078 #define SeqItem_hxx <exotkParameter_Root.hxx> 00079 #define TCollection_SequenceNode exotkParameter_SequenceNodeOfSequenceOfParameter 00080 #define TCollection_SequenceNode_hxx <exotkParameter_SequenceNodeOfSequenceOfParameter.hxx> 00081 #define Handle_TCollection_SequenceNode Handle_exotkParameter_SequenceNodeOfSequenceOfParameter 00082 #define TCollection_SequenceNode_Type_() exotkParameter_SequenceNodeOfSequenceOfexotkParameter_Type_() 00083 #define TCollection_Sequence exotkParameter_SequenceOfParameter 00084 #define TCollection_Sequence_hxx <exotkParameter_SequenceOfParameter.hxx> 00085 #include <TCollection_SequenceNode.gxx> 00086
1.2.12 written by Dimitri van Heesch,
© 1997-2001