Declaration¶
Source position: contnrs.pp line 166
Inheritance¶
Description¶
TObjectStack is a stack implementation which manages pointers only.
TObjectStack introduces no new behaviour, it simply overrides some methods to accept and/or return TObject instances instead of pointers.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Peek | public | Look at the top object in the stack. |
| Pop | public | Pop the top object of the stack. |
| Push | public | Push an object on the stack. |
See also¶
| Name | Description |
|---|---|
| TOrderedList | Base class for queues and stacks. |
| TStack | Pointer Stack. |
| TQueue | Pointer queue. |
| TObjectQueue |