1 // File: NCollection_DefineQueue.hxx
2 // Created: 17.04.02 10:12:48
3 // Author: Alexander Kartomin (akm)
4 // <a-kartomin@opencascade.com>
5 // Automatically created from NCollection_Queue.hxx by GAWK
6 // Copyright: Open Cascade 2002
8 // Purpose: A queue is a structure where Items are added at
9 // the end and removed from the front. The first
10 // entered Item will be the first removed. This is
11 // called a FIFO (First In First Out).
12 // Inherits BaseList, adds the data item to each node.
16 #ifndef NCollection_DefineQueue_HeaderFile
17 #define NCollection_DefineQueue_HeaderFile
19 #include <NCollection_Queue.hxx>
22 // Disable the warning "operator new unmatched by delete"
23 #pragma warning (disable:4291)
26 // **************************************** Template for Queue class ********
28 #define DEFINE_QUEUE(_ClassName_, _BaseCollection_, TheItemType) \
29 typedef NCollection_Queue<TheItemType > _ClassName_;