#include <circular_queue.h>
Public Member Functions | |
cqueue () | |
cqueue (int capacity) | |
cqueue (const cqueue &c) | |
bool | empty () |
const Type & | front () |
bool | full () |
cqueue & | operator= (const cqueue &c) |
void | pop () |
void | print () |
void | push (Type x) |
int | size () |
~cqueue () | |
Private Attributes | |
int | capacity_ |
Type * | data_ |
int | head_ |
int | tail_ |
Definition at line 30 of file circular_queue.h.
|
inline |
Definition at line 33 of file circular_queue.h.
|
inline |
Definition at line 41 of file circular_queue.h.
|
inline |
Definition at line 49 of file circular_queue.h.
|
inline |
Definition at line 72 of file circular_queue.h.
|
inline |
Definition at line 77 of file circular_queue.h.
|
inline |
Definition at line 118 of file circular_queue.h.
|
inline |
Definition at line 87 of file circular_queue.h.
|
inline |
Definition at line 58 of file circular_queue.h.
|
inline |
Definition at line 108 of file circular_queue.h.
|
inline |
Definition at line 128 of file circular_queue.h.
|
inline |
Definition at line 97 of file circular_queue.h.
|
inline |
Definition at line 123 of file circular_queue.h.
|
private |
Definition at line 142 of file circular_queue.h.
|
private |
Definition at line 141 of file circular_queue.h.
|
private |
Definition at line 144 of file circular_queue.h.
|
private |
Definition at line 143 of file circular_queue.h.