#include <gdtstack.h>
Public Member Functions | |
gdtstack () | |
gdtstack (const gdtstack< E > &s) | |
~gdtstack () | |
gdtstack< E > & | operator= (const gdtstack< E > &s) |
const E & | top () const |
void | push (const E &x) |
const E & | pop () |
int | size () const |
bool | empty () const |
void | clear () |
Definition at line 11 of file gdtstack.h.
gdt::gdtstack< E >::gdtstack | ( | ) | [inline] |
Definition at line 19 of file gdtstack.h.
gdt::gdtstack< E >::gdtstack | ( | const gdtstack< E > & | s | ) | [inline] |
Definition at line 21 of file gdtstack.h.
gdt::gdtstack< E >::~gdtstack | ( | ) | [inline] |
Definition at line 23 of file gdtstack.h.
References gdt::gdtstack< E >::clear().
Definition at line 25 of file gdtstack.h.
References gdt::gdtlist< E >::operator=().
const E& gdt::gdtstack< E >::top | ( | ) | const [inline] |
Definition at line 28 of file gdtstack.h.
References gdt::gdtlist< E >::head().
void gdt::gdtstack< E >::push | ( | const E & | x | ) | [inline] |
Reimplemented from gdt::gdtlist< E >.
Definition at line 30 of file gdtstack.h.
References gdt::gdtlist< E >::push().
const E& gdt::gdtstack< E >::pop | ( | ) | [inline] |
Reimplemented from gdt::gdtlist< E >.
Definition at line 32 of file gdtstack.h.
References gdt::gdtlist< E >::pop().
int gdt::gdtstack< E >::size | ( | ) | const [inline] |
Reimplemented from gdt::gdtlist< E >.
Definition at line 34 of file gdtstack.h.
References gdt::gdtlist< E >::length().
bool gdt::gdtstack< E >::empty | ( | ) | const [inline] |
Reimplemented from gdt::gdtlist< E >.
Definition at line 36 of file gdtstack.h.
References gdt::gdtlist< E >::empty().
void gdt::gdtstack< E >::clear | ( | ) | [inline] |
Reimplemented from gdt::gdtlist< E >.
Definition at line 38 of file gdtstack.h.
References gdt::gdtlist< E >::clear().
Referenced by gdt::gdtstack< E >::~gdtstack().