#include <misc.h>
Inheritance diagram for ost::StackPager::
Public Methods | |
StackPager (size_t pagesize) | |
Create a lifo pager as a mempager. More... | |
void* | push (const void *object, size_t size) |
Push an arbitrary object onto the stack. More... | |
void* | push (const char *string) |
Push a string onto the stack. More... | |
void* | pull (void) |
Retrieve next object from stack. More... | |
void | purge (void) |
Purge the stack of all objects and memory allocations. More... |
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.
|