// // Basic Summary: clasical queue // // Include file for queue definition // // Copyright: // // Copyright 1993 Ron Burback // Copyright 1993 Objects Plus // All rights reserved // // Description: dequeue and enqueue opjects based on dynamic array // // // Data elemnents: // // // Methods: // // The methods are // queue(); - standard constructor // ~queue(); - standard disctructor // enqueue - add an element at the front of the queue // dequeue - remove an element from the end of the queue // test - standard qa test // // static Boolean test(); = quality assurance test // // Macro definitions:none // // // Class definition: // // queue // #ifndef _OP_QUEUE #define _OP_QUEUE #include "standard.h" #include "circular_buffer.h" #include "linked_chunk.h" #include "dynamic_array.h" class queue : dynamic_array { public: static char * version ; queue(); ~queue(); void enqueue(void * e); void * dequeue(); static Boolean test() ; }; #endif