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_HSequenceOfParameter.hxx> 00016 00017 #ifndef _Standard_TypeMismatch_HeaderFile 00018 #include <Standard_TypeMismatch.hxx> 00019 #endif 00020 00021 #ifndef _Standard_NoSuchObject_HeaderFile 00022 #include <Standard_NoSuchObject.hxx> 00023 #endif 00024 #ifndef _Standard_OutOfRange_HeaderFile 00025 #include <Standard_OutOfRange.hxx> 00026 #endif 00027 #ifndef _exotkParameter_Root_HeaderFile 00028 #include <exotkParameter_Root.hxx> 00029 #endif 00030 #ifndef _exotkParameter_SequenceOfexotkParameter_HeaderFile 00031 #include <exotkParameter_SequenceOfParameter.hxx> 00032 #endif 00033 exotkParameter_HSequenceOfParameter::~exotkParameter_HSequenceOfParameter() {} 00034 00035 00036 00037 Standard_EXPORT Handle_Standard_Type& exotkParameter_HSequenceOfParameter_Type_() 00038 { 00039 00040 static Handle_Standard_Type aType1 = STANDARD_TYPE(MMgt_TShared); 00041 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(MMgt_TShared); 00042 static Handle_Standard_Type aType2 = STANDARD_TYPE(exotkParameter_Root); 00043 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(exotkParameter_Root); 00044 00045 00046 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,NULL}; 00047 static Handle_Standard_Type _aType = new Standard_Type("exotkParameter_HSequenceOfParameter", 00048 sizeof(exotkParameter_HSequenceOfParameter), 00049 1, 00050 (Standard_Address)_Ancestors, 00051 (Standard_Address)NULL); 00052 00053 return _aType; 00054 } 00055 00056 00057 // DownCast method 00058 // allow safe downcasting 00059 // 00060 const Handle_exotkParameter_HSequenceOfParameter Handle_exotkParameter_HSequenceOfParameter::DownCast(const Handle_Standard_Transient& AnObject) 00061 { 00062 Handle_exotkParameter_HSequenceOfParameter _anOtherObject; 00063 00064 if (!AnObject.IsNull()) { 00065 if (AnObject->IsKind(STANDARD_TYPE(exotkParameter_HSequenceOfParameter))) { 00066 _anOtherObject = Handle_exotkParameter_HSequenceOfParameter((Handle_exotkParameter_HSequenceOfParameter&)AnObject); 00067 } 00068 } 00069 00070 return _anOtherObject ; 00071 } 00072 const Handle_Standard_Type& exotkParameter_HSequenceOfParameter::DynamicType() const 00073 { 00074 return STANDARD_TYPE(exotkParameter_HSequenceOfParameter) ; 00075 } 00076 Standard_Boolean exotkParameter_HSequenceOfParameter::IsKind(const Handle_Standard_Type& AType) const 00077 { 00078 return (STANDARD_TYPE(exotkParameter_HSequenceOfParameter) == AType || MMgt_TShared::IsKind(AType)); 00079 } 00080 Handle_exotkParameter_HSequenceOfParameter::~Handle_exotkParameter_HSequenceOfParameter() {} 00081 #define Item Handle_exotkParameter_Root 00082 #define Item_hxx <exotkParameter_Root.hxx> 00083 #define TheSequence exotkParameter_SequenceOfParameter 00084 #define TheSequence_hxx <exotkParameter_SequenceOfParameter.hxx> 00085 #define TCollection_HSequence exotkParameter_HSequenceOfParameter 00086 #define TCollection_HSequence_hxx <exotkParameter_HSequenceOfParameter.hxx> 00087 #define Handle_TCollection_HSequence Handle_exotkParameter_HSequenceOfParameter 00088 #define TCollection_HSequence_Type_() exotkParameter_HSequenceOfexotkParameter_Type_() 00089 #include <TCollection_HSequence.gxx> 00090
1.2.12 written by Dimitri van Heesch,
© 1997-2001