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 <exotkMaterial_StdMapNodeOfMapOfMaterial.hxx> 00016 00017 #ifndef _Standard_TypeMismatch_HeaderFile 00018 #include <Standard_TypeMismatch.hxx> 00019 #endif 00020 00021 #ifndef _exotkMaterial_Material_HeaderFile 00022 #include <exotkMaterial_Material.hxx> 00023 #endif 00024 #ifndef _exotkMaterial_MapOfMaterial_HeaderFile 00025 #include <exotkMaterial_MapOfMaterial.hxx> 00026 #endif 00027 #ifndef _exotkMaterial_MapIteratorOfMapOfMaterial_HeaderFile 00028 #include <exotkMaterial_MapIteratorOfMapOfMaterial.hxx> 00029 #endif 00030 exotkMaterial_StdMapNodeOfMapOfMaterial::~exotkMaterial_StdMapNodeOfMapOfMaterial() {} 00031 00032 00033 00034 Standard_EXPORT Handle_Standard_Type& exotkMaterial_StdMapNodeOfMapOfMaterial_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("exotkMaterial_StdMapNodeOfMapOfMaterial", 00047 sizeof(exotkMaterial_StdMapNodeOfMapOfMaterial), 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_exotkMaterial_StdMapNodeOfMapOfMaterial Handle_exotkMaterial_StdMapNodeOfMapOfMaterial::DownCast(const Handle_Standard_Transient& AnObject) 00060 { 00061 Handle_exotkMaterial_StdMapNodeOfMapOfMaterial _anOtherObject; 00062 00063 if (!AnObject.IsNull()) { 00064 if (AnObject->IsKind(STANDARD_TYPE(exotkMaterial_StdMapNodeOfMapOfMaterial))) { 00065 _anOtherObject = Handle_exotkMaterial_StdMapNodeOfMapOfMaterial((Handle_exotkMaterial_StdMapNodeOfMapOfMaterial&)AnObject); 00066 } 00067 } 00068 00069 return _anOtherObject ; 00070 } 00071 const Handle_Standard_Type& exotkMaterial_StdMapNodeOfMapOfMaterial::DynamicType() const 00072 { 00073 return STANDARD_TYPE(exotkMaterial_StdMapNodeOfMapOfMaterial) ; 00074 } 00075 Standard_Boolean exotkMaterial_StdMapNodeOfMapOfMaterial::IsKind(const Handle_Standard_Type& AType) const 00076 { 00077 return (STANDARD_TYPE(exotkMaterial_StdMapNodeOfMapOfMaterial) == AType || TCollection_MapNode::IsKind(AType)); 00078 } 00079 Handle_exotkMaterial_StdMapNodeOfMapOfMaterial::~Handle_exotkMaterial_StdMapNodeOfMapOfMaterial() {} 00080 #define TheKey Handle_exotkMaterial_Material 00081 #define TheKey_hxx <exotkMaterial_Material.hxx> 00082 #define Hasher exotkMaterial_Material 00083 #define Hasher_hxx <exotkMaterial_Material.hxx> 00084 #define TCollection_StdMapNode exotkMaterial_StdMapNodeOfMapOfMaterial 00085 #define TCollection_StdMapNode_hxx <exotkMaterial_StdMapNodeOfMapOfMaterial.hxx> 00086 #define TCollection_MapIterator exotkMaterial_MapIteratorOfMapOfMaterial 00087 #define TCollection_MapIterator_hxx <exotkMaterial_MapIteratorOfMapOfMaterial.hxx> 00088 #define Handle_TCollection_StdMapNode Handle_exotkMaterial_StdMapNodeOfMapOfMaterial 00089 #define TCollection_StdMapNode_Type_() exotkMaterial_StdMapNodeOfMapOfMaterial_Type_() 00090 #define TCollection_Map exotkMaterial_MapOfMaterial 00091 #define TCollection_exotkMaterial_hxx <exotkMaterial_MapOfMaterial.hxx> 00092 #include <TCollection_StdMapNode.gxx> 00093
1.2.12 written by Dimitri van Heesch,
© 1997-2001