![]() |
|
Public Member Functions | |
FIFOStack () | |
Construct null. | |
FIFOStack (T a) | |
Construct given initial T. | |
FIFOStack (Istream &is) | |
Construct from Istream. | |
T | top () const |
Return a copy of the top element. | |
T | bottom () const |
Return a copy of the bottom element. | |
bool | empty () const |
Is the stack empty. | |
void | push (const T &a) |
Push an element onto the stack. | |
T | pop () |
Pop the bottom element. |
|
Construct null.
Definition at line 69 of file FIFOStack.H. |
|
Construct given initial T.
Definition at line 73 of file FIFOStack.H. |
|
Construct from Istream.
Definition at line 79 of file FIFOStack.H. |
|
Return a copy of the bottom element.
Definition at line 96 of file FIFOStack.H. |
|
Is the stack empty.
Definition at line 105 of file FIFOStack.H. |
|
Pop the bottom element.
Definition at line 120 of file FIFOStack.H. |
|
Push an element onto the stack.
Definition at line 114 of file FIFOStack.H. |
|
Return a copy of the top element.
Definition at line 90 of file FIFOStack.H. |