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 <exotkTrace_QueueNodeOfQueueOfLogMessage.hxx> 00016 00017 #ifndef _Standard_TypeMismatch_HeaderFile 00018 #include <Standard_TypeMismatch.hxx> 00019 #endif 00020 00021 #ifndef _exotkTrace_LogMessage_HeaderFile 00022 #include <exotkTrace_LogMessage.hxx> 00023 #endif 00024 #ifndef _exotkTrace_QueueOfLogMessage_HeaderFile 00025 #include <exotkTrace_QueueOfLogMessage.hxx> 00026 #endif 00027 exotkTrace_QueueNodeOfQueueOfLogMessage::~exotkTrace_QueueNodeOfQueueOfLogMessage() {} 00028 00029 00030 00031 Standard_EXPORT Handle_Standard_Type& exotkTrace_QueueNodeOfQueueOfLogMessage_Type_() 00032 { 00033 00034 static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); 00035 if ( aType1.IsNull()) aType1 = STANDARD_TYPE(TCollection_MapNode); 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(Standard_Transient); 00039 if ( aType3.IsNull()) aType3 = STANDARD_TYPE(Standard_Transient); 00040 00041 00042 static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; 00043 static Handle_Standard_Type _aType = new Standard_Type("exotkTrace_QueueNodeOfQueueOfLogMessage", 00044 sizeof(exotkTrace_QueueNodeOfQueueOfLogMessage), 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_exotkTrace_QueueNodeOfQueueOfLogMessage Handle_exotkTrace_QueueNodeOfQueueOfLogMessage::DownCast(const Handle_Standard_Transient& AnLogMessage) 00057 { 00058 Handle_exotkTrace_QueueNodeOfQueueOfLogMessage _anOtherLogMessage; 00059 00060 if (!AnLogMessage.IsNull()) { 00061 if (AnLogMessage->IsKind(STANDARD_TYPE(exotkTrace_QueueNodeOfQueueOfLogMessage))) { 00062 _anOtherLogMessage = Handle_exotkTrace_QueueNodeOfQueueOfLogMessage((Handle_exotkTrace_QueueNodeOfQueueOfLogMessage&)AnLogMessage); 00063 } 00064 } 00065 00066 return _anOtherLogMessage ; 00067 } 00068 const Handle_Standard_Type& exotkTrace_QueueNodeOfQueueOfLogMessage::DynamicType() const 00069 { 00070 return STANDARD_TYPE(exotkTrace_QueueNodeOfQueueOfLogMessage) ; 00071 } 00072 Standard_Boolean exotkTrace_QueueNodeOfQueueOfLogMessage::IsKind(const Handle_Standard_Type& AType) const 00073 { 00074 return (STANDARD_TYPE(exotkTrace_QueueNodeOfQueueOfLogMessage) == AType || TCollection_MapNode::IsKind(AType)); 00075 } 00076 Handle_exotkTrace_QueueNodeOfQueueOfLogMessage::~Handle_exotkTrace_QueueNodeOfQueueOfLogMessage() {} 00077 #define Item exotkTrace_LogMessage 00078 #define Item_hxx <exotkTrace_LogMessage.hxx> 00079 #define TCollection_QueueNode exotkTrace_QueueNodeOfQueueOfLogMessage 00080 #define TCollection_QueueNode_hxx <exotkTrace_QueueNodeOfQueueOfLogMessage.hxx> 00081 #define Handle_TCollection_QueueNode Handle_exotkTrace_QueueNodeOfQueueOfLogMessage 00082 #define TCollection_QueueNode_Type_() exotkTrace_QueueNodeOfQueueOfLogMessage_Type_() 00083 #define TCollection_Queue exotkTrace_QueueOfLogMessage 00084 #define TCollection_Queue_hxx <exotkTrace_QueueOfLogMessage.hxx> 00085 #include <TCollection_QueueNode.gxx> 00086
1.2.12 written by Dimitri van Heesch,
© 1997-2001