#include <include/EST_TDeque.h>
Public Member Functions | |
EST_TDeque (unsigned int capacity, unsigned int increment) | |
EST_TDeque (unsigned int capacity) | |
void | clear (void) |
Empty it out. | |
bool | is_empty (void) const |
Is there anything to get? | |
ostream & | print (ostream &s) const |
print picture of state. Mostly useful for debugging. | |
stack | |
An interface looking like a stack. | |
void | push (T &item) |
T & | pop (void) |
T & | nth (int i) |
inverse stack | |
The other end as a stack. | |
void | back_push (T &item) |
T & | back_pop (void) |
queue | |
An interface looking like a queue. | |
void | add (T &item) |
T & | next () |
T & | last () |
perl | |
For people who think in perl | |
void | unshift (T &item) |
T & | shift () |
Static Public Attributes | |
static const T * | Filler |
Used to fill empty spaces when possible. | |
Friends | |
ostream & | operator<< (ostream &st, const EST_TDeque< T > &deq) |
Double ended queue.
Definition at line 48 of file EST_TDeque.h.