File: NCollection_DefineQueue.hxx

package info (click to toggle)
opencascade 6.2-7
  • links: PTS
  • area: non-free
  • in suites: lenny
  • size: 444,652 kB
  • ctags: 256,750
  • sloc: cpp: 1,150,123; ansic: 225,762; tcl: 30,130; makefile: 12,619; sh: 7,958; xml: 3,981; lisp: 283; java: 212; csh: 203; perl: 15
file content (31 lines) | stat: -rw-r--r-- 1,098 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// File:         NCollection_DefineQueue.hxx
// Created:      17.04.02 10:12:48
// Author:       Alexander Kartomin (akm)
//               <a-kartomin@opencascade.com>
//            Automatically created from NCollection_Queue.hxx by GAWK
// Copyright:    Open Cascade 2002
//               
// Purpose:      A queue is  a structure where Items are  added  at
//               the end  and removed from   the  front. The  first
//               entered Item  will be the  first removed. This  is
//               called a FIFO (First In First Out).
//               Inherits BaseList, adds the data item to each node.
//               


#ifndef NCollection_DefineQueue_HeaderFile
#define NCollection_DefineQueue_HeaderFile

#include <NCollection_Queue.hxx>

#ifdef WNT
// Disable the warning "operator new unmatched by delete"
#pragma warning (disable:4291)
#endif

// **************************************** Template for  Queue  class ********

#define DEFINE_QUEUE(_ClassName_, _BaseCollection_, TheItemType)               \
        typedef NCollection_Queue<TheItemType > _ClassName_;

#endif