Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkTrace_QueueOfLogMessage.hxx

Go to the documentation of this file.
00001 // File generated by CPPExt (Value)
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 #ifndef _exotkTrace_QueueOfLogMessage_HeaderFile
00016 #define _exotkTrace_QueueOfLogMessage_HeaderFile
00017 
00018 #ifndef _Standard_Address_HeaderFile
00019 #include <Standard_Address.hxx>
00020 #endif
00021 #ifndef _Standard_Integer_HeaderFile
00022 #include <Standard_Integer.hxx>
00023 #endif
00024 #ifndef _Handle_exotkTrace_QueueNodeOfQueueOfLogMessage_HeaderFile
00025 #include <Handle_exotkTrace_QueueNodeOfQueueOfLogMessage.hxx>
00026 #endif
00027 #ifndef _Standard_Boolean_HeaderFile
00028 #include <Standard_Boolean.hxx>
00029 #endif
00030 class Standard_NoSuchLogMessage;
00031 class exotkTrace_LogMessage;
00032 class exotkTrace_QueueNodeOfQueueOfLogMessage;
00033 
00034 
00035 #ifndef _Standard_Macro_HeaderFile
00036 #include <Standard_Macro.hxx>
00037 #endif
00038 
00039 class exotkTrace_QueueOfLogMessage  {
00040 
00041 public:
00042     inline void* operator new(size_t,void* anAddress) 
00043       {
00044         return anAddress;
00045       }
00046     inline void* operator new(size_t size) 
00047       { 
00048         return Standard::Allocate(size); 
00049       }
00050     inline void  operator delete(void *anAddress) 
00051       { 
00052         if (anAddress) Standard::Free((Standard_Address&)anAddress); 
00053       }
00054 
00055  // Methods PUBLIC
00056  // 
00057 Standard_EXPORT exotkTrace_QueueOfLogMessage();
00058 Standard_EXPORT  const exotkTrace_QueueOfLogMessage& Assign(const exotkTrace_QueueOfLogMessage& Other) ;
00059  const exotkTrace_QueueOfLogMessage& operator =(const exotkTrace_QueueOfLogMessage& Other) 
00060 {
00061   return Assign(Other);
00062 }
00063 
00064 Standard_EXPORT inline   Standard_Integer Length() const;
00065 Standard_EXPORT inline   Standard_Boolean IsEmpty() const;
00066 Standard_EXPORT  const exotkTrace_LogMessage& Front() const;
00067 Standard_EXPORT   void Clear() ;
00068 ~exotkTrace_QueueOfLogMessage()
00069 {
00070   Clear();
00071 }
00072 
00073 Standard_EXPORT   void Push(const exotkTrace_LogMessage& T) ;
00074 Standard_EXPORT   void Pop() ;
00075 Standard_EXPORT   exotkTrace_LogMessage& ChangeFront() ;
00076 
00077 
00078 
00079 
00080 
00081 protected:
00082 
00083  // Methods PROTECTED
00084  // 
00085 
00086 
00087  // Fields PROTECTED
00088  //
00089 
00090 
00091 private: 
00092 
00093  // Methods PRIVATE
00094  // 
00095 Standard_EXPORT exotkTrace_QueueOfLogMessage(const exotkTrace_QueueOfLogMessage& Other);
00096 
00097 
00098  // Fields PRIVATE
00099  //
00100 Standard_Address myFront;
00101 Standard_Address myEnd;
00102 Standard_Integer myLength;
00103 
00104 
00105 };
00106 
00107 #define Item exotkTrace_LogMessage
00108 #define Item_hxx <exotkTrace_LogMessage.hxx>
00109 #define TCollection_QueueNode exotkTrace_QueueNodeOfQueueOfLogMessage
00110 #define TCollection_QueueNode_hxx <exotkTrace_QueueNodeOfQueueOfLogMessage.hxx>
00111 #define Handle_TCollection_QueueNode Handle_exotkTrace_QueueNodeOfQueueOfLogMessage
00112 #define TCollection_QueueNode_Type_() exotkTrace_QueueNodeOfQueueOfLogMessage_Type_()
00113 #define TCollection_Queue exotkTrace_QueueOfLogMessage
00114 #define TCollection_Queue_hxx <exotkTrace_QueueOfLogMessage.hxx>
00115 
00116 #include <TCollection_Queue.lxx>
00117 
00118 #undef Item
00119 #undef Item_hxx
00120 #undef TCollection_QueueNode
00121 #undef TCollection_QueueNode_hxx
00122 #undef Handle_TCollection_QueueNode
00123 #undef TCollection_QueueNode_Type_
00124 #undef TCollection_Queue
00125 #undef TCollection_Queue_hxx
00126 
00127 
00128 // other inline functions and methods (like "C++: function call" methods)
00129 //
00130 
00131 
00132 #endif

Generated on Wed Jan 23 12:16:44 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001