Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Queue.h

Go to the documentation of this file.
00001 #ifndef __QUEUE_H
00002 #define __QUEUE_H
00003 
00004 #include "my_list.h"
00005 
00006 template<class T>
00007 class CQueue : public CList<T>
00008 {
00009  public:
00010   bool empty() { return (CList<T>::front == NULL); }
00011   void push(const T& t) { push_back(t); }
00012 };
00013 #endif

Generated on Sat Nov 5 16:16:58 2005 for OPIE by  doxygen 1.4.2