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 <exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject.hxx> 00016 00017 #ifndef _Standard_TypeMismatch_HeaderFile 00018 #include <Standard_TypeMismatch.hxx> 00019 #endif 00020 00021 #ifndef _AIS_InteractiveObject_HeaderFile 00022 #include <AIS_InteractiveObject.hxx> 00023 #endif 00024 #ifndef _TCollection_AsciiString_HeaderFile 00025 #include <TCollection_AsciiString.hxx> 00026 #endif 00027 #ifndef _TColStd_MapTransientHasher_HeaderFile 00028 #include <TColStd_MapTransientHasher.hxx> 00029 #endif 00030 #ifndef _exotkAIS_DoubleMapAsciiStringAISInteractiveObject_HeaderFile 00031 #include <exotkAIS_DoubleMapAsciiStringAISInteractiveObject.hxx> 00032 #endif 00033 #ifndef _exotkAIS_DoubleMapIteratorOfDoubleMapAsciiStringAISInteractiveObject_HeaderFile 00034 #include <exotkAIS_DoubleMapIteratorOfDoubleMapAsciiStringAISInteractiveObject.hxx> 00035 #endif 00036 exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject::~exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject() {} 00037 00038 00039 00040 Standard_EXPORT Handle_Standard_Type& exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject_Type_() 00041 { 00042 00043 static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); 00044 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode); 00045 static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); 00046 if ( aType2.IsNull()) aType2 = STANDARD_TYPE(MMgt_TShared); 00047 static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); 00048 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient); 00049 00050 00051 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; 00052 static Handle_Standard_Type _aType = new Standard_Type("exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject", 00053 sizeof(exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject), 00054 1, 00055 (Standard_Address)_Ancestors, 00056 (Standard_Address)NULL); 00057 00058 return _aType; 00059 } 00060 00061 00062 // DownCast method 00063 // allow safe downcasting 00064 // 00065 const Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject::DownCast(const Handle_Standard_Transient& AnObject) 00066 { 00067 Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject _anOtherObject; 00068 00069 if (!AnObject.IsNull()) { 00070 if (AnObject->IsKind(STANDARD_TYPE(exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject))) { 00071 _anOtherObject = Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject((Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject&)AnObject); 00072 } 00073 } 00074 00075 return _anOtherObject ; 00076 } 00077 const Handle_Standard_Type& exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject::DynamicType() const 00078 { 00079 return STANDARD_TYPE(exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject) ; 00080 } 00081 Standard_Boolean exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject::IsKind(const Handle_Standard_Type& AType) const 00082 { 00083 return (STANDARD_TYPE(exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject) == AType || TCollection_MapNode::IsKind(AType)); 00084 } 00085 Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject::~Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject() {} 00086 #define TheKey1 TCollection_AsciiString 00087 #define TheKey1_hxx <TCollection_AsciiString.hxx> 00088 #define TheKey2 Handle_AIS_InteractiveObject 00089 #define TheKey2_hxx <AIS_InteractiveObject.hxx> 00090 #define Hasher1 TCollection_AsciiString 00091 #define Hasher1_hxx <TCollection_AsciiString.hxx> 00092 #define Hasher2 TColStd_MapTransientHasher 00093 #define Hasher2_hxx <TColStd_MapTransientHasher.hxx> 00094 #define TCollection_DoubleMapNode exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject 00095 #define TCollection_DoubleMapNode_hxx <exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject.hxx> 00096 #define TCollection_DoubleMapIterator exotkAIS_DoubleMapIteratorOfDoubleMapAsciiStringAISInteractiveObject 00097 #define TCollection_DoubleMapIterator_hxx <exotkAIS_DoubleMapIteratorOfDoubleMapAsciiStringAISInteractiveObject.hxx> 00098 #define Handle_TCollection_DoubleMapNode Handle_exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject 00099 #define TCollection_DoubleMapNode_Type_() exotkAIS_DoubleMapNodeOfDoubleMapAsciiStringAISInteractiveObject_Type_() 00100 #define TCollection_DoubleMap exotkAIS_DoubleMapAsciiStringAISInteractiveObject 00101 #define TCollection_DoubleMap_hxx <exotkAIS_DoubleMapAsciiStringAISInteractiveObject.hxx> 00102 #include <TCollection_DoubleMapNode.gxx> 00103
1.2.12 written by Dimitri van Heesch,
© 1997-2001