#include <misc.h>
Inheritance diagram for ost::StackPager:

Public Member Functions | |
| StackPager (size_t pagesize) | |
| Create a lifo pager as a mempager. | |
| void * | push (const void *object, size_t size) |
| Push an arbitrary object onto the stack. | |
| void * | push (const char *string) |
| Push a string onto the stack. | |
| void * | pull (void) |
| Retrieve next object from stack. | |
| void | purge (void) |
| Purge the stack of all objects and memory allocations. | |
The use of a mempager to support it's operation allows storage of arbitrary sized objects with no fixed limit.
|
|
Create a lifo pager as a mempager.
|
|
|
Retrieve next object from stack.
|
|
|
Purge the stack of all objects and memory allocations.
Reimplemented from ost::MemPager. |
|
|
Push a string onto the stack.
|
|
||||||||||||
|
Push an arbitrary object onto the stack.
|
1.3.9.1